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

Disassembly:
push ebp
sub esp, 0x68
mov eax, 0x6a8474
call fcn.00664608
sub esp, 0x974
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp + 0x48], 0xf
push str.classic_uninstall
mov byte [ebp + 0x68], bl
lea ecx, [ebp + 0x34]
push dword [ebp + 0x68]
mov dword [ebp + 0x34], ebx
push 0x11
mov dword [ebp + 0x44], ebx
mov byte [ebp + 0x34], bl
call fcn.0041039b
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp + 0x68], esp
mov dword [ebp + 0x18], ecx
lea eax, [ebp + 0x34]
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00410794
xor eax, eax
lea ecx, [ebp + 0x67]
inc eax
mov byte [ebp - 4], al
call fcn.005b32c3
push eax
lea ecx, [ebp + 0x67]
mov byte [ebp - 4], bl
call fcn.005b33cd
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x48]
cmp eax, 0x10
jb 0x435f07
mov ecx, dword [ebp + 0x34]
inc eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x435efe
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
call fcn.005ad8a2
mov edi, 0x104
lea eax, [ebp - 0x570]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
call fcn.00454dec
test al, al
jne 0x435f9e
cmp byte [0x7b4c98], 6
jb 0x435f9e
push str._UNINSTALL
lea ecx, [ebp - 0x30]
call fcn.004294b0
cmp byte [ebp + 0x74], 0
mov dword [ebp - 4], 2
je 0x435f59
push 0x6ce884
lea ecx, [ebp - 0x30]
call fcn.0042a36d
cmp byte [ebp + 0x78], 0
je 0x435f6c
push str.__REMSETTINGS
lea ecx, [ebp - 0x30]
call fcn.0042a36d
lea ecx, [ebp]
call fcn.0042963e
xor eax, eax
mov byte [ebp - 4], 3
push ebx
inc eax
lea ecx, [ebp - 0x30]
push eax
push ebx
lea eax, [ebp]
push eax
call fcn.004377a9
push eax
lea eax, [ebp - 0x570]
push eax
call fcn.0043384b
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov bl, byte [ebp + 0x74]
test bl, bl
jne 0x435ffd
lea ecx, [ebp - 0xb8]
call fcn.0059ac1b
mov dword [ebp - 0xb8], 0x6ce554
xor eax, eax
mov dword [ebp - 4], 4
inc eax
push eax
lea eax, [ebp + 0x78]
push eax
push 0xfe
call fcn.0059a05f
push eax
lea ecx, [ebp - 0xb8]
call fcn.0059b8d4
lea ecx, [ebp - 0xb8]
cmp byte [ebp - 0x7c], bl
jne 0x435ff4
call fcn.0059acb8
jmp 0x436854
or dword [ebp - 4], 0xffffffff
call fcn.0059acb8
call fcn.00435c96
test al, al
jne 0x436030
test bl, bl
jne 0x436030
push 0x10
push 0x808
call fcn.00599084
push eax
push 0x809
call fcn.00599084
push eax
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x436854
push dword [ebp + 0x78]
call fcn.0047b5c5
xor ebx, ebx
mov dword [0x7ec0e8], ebx
mov dword [0x7ec0e0], ebx
mov dword [0x7ec0e4], ebx
call fcn.00468768
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 8
pop esi
push esi
call fcn.00432af3
lea ecx, [ebp - 0x160]
call fcn.005a7cb1
push esi
push 0x7b6790
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 5
call fcn.005a8a82
xor eax, eax
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], 7
mov word [ebp + 0x4c], ax
push edi
lea eax, [ebp - 0x980]
mov byte [ebp - 4], 6
push eax
push str.InstallLocation
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalluTorrent
push reloc.WS2_32.dll_accept
call fcn.0047bf6a
test al, al
je 0x43651f
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp - 0x980]
push eax
call fcn.0047ba5b
test eax, eax
je 0x436113
mov eax, dword [ebp + 0x60]
cmp eax, esi
jb 0x43610c
mov ecx, dword [ebp + 0x4c]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x436103
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
xor edi, edi
jmp 0x436839
xor edi, edi
lea eax, [ebp - 0x570]
inc edi
push edi
push eax
call fcn.004517b0
xor ebx, ebx
mov dword [ebp + 0x30], 7
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x2c], ebx
test eax, eax
je 0x436147
xor ecx, ecx
mov word [ebp + 0x1c], cx
lea ecx, [ebp + 0x1c]
push eax
call fcn.00427ba3
jmp 0x43614d
xor eax, eax
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1c]
mov byte [ebp - 4], 7
push eax
sub esp, 0x18
lea eax, [ebp + 0x4c]
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00427a37
lea eax, [ebp]
push eax
call fcn.004516a9
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 9
cmp eax, esi
jb 0x4361b2
mov ecx, dword [ebp + 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x4361a9
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
xor eax, eax
mov dword [ebp + 0x2c], ebx
mov word [ebp + 0x1c], ax
lea eax, [ebp - 0x570]
push edi
push eax
mov dword [ebp + 0x30], 7
call fcn.004517b0
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], 7
test eax, eax
je 0x4361f1
xor ecx, ecx
mov word [ebp + 0x34], cx
lea ecx, [ebp + 0x34]
push eax
call fcn.00427ba3
jmp 0x4361f7
xor eax, eax
mov word [ebp + 0x34], ax
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 0xa
push eax
sub esp, 0x18
lea eax, [ebp - 0x980]
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 7
call fcn.00427ba3
lea eax, [ebp - 0x60]
push eax
call fcn.004516a9
mov eax, dword [ebp + 0x48]
mov byte [ebp - 4], 0xc
cmp eax, esi
jb 0x436263
mov ecx, dword [ebp + 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x43625a
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
xor eax, eax
mov dword [ebp + 0x44], ebx
mov word [ebp + 0x34], ax
lea eax, [ebp]
mov dword [ebp + 0x48], 7
cmp dword [ebp + 0x14], esi
jb 0x43627e
mov eax, dword [ebp]
push eax
call fcn.0046ea16
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], esi
jb 0x43628f
mov eax, dword [ebp - 0x60]
push eax
call fcn.0046ea16
lea eax, [ebp]
cmp dword [ebp + 0x14], esi
jb 0x4362a0
mov eax, dword [ebp]
push eax
call fcn.00436868
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], esi
jb 0x4362b1
mov eax, dword [ebp - 0x60]
push eax
call fcn.00436868
push edi
push 0x28
lea eax, [ebp - 0x368]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43646a
lea ecx, [ebp - 0x368]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4362d9
sub ecx, edx
lea eax, [ebp + 0x4c]
sar ecx, 1
cmp dword [ebp + 0x60], esi
jb 0x4362f3
mov eax, dword [ebp + 0x4c]
push ecx
lea ecx, [ebp - 0x368]
push ecx
push eax
call fcn.00673aae
add esp, 0xc
test eax, eax
jne 0x43646a
lea eax, [ebp - 0x778]
push eax
call fcn.0042e38c
xor eax, eax
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x778]
mov dword [ebp - 0x38], ebx
push eax
mov dword [ebp - 0x34], 7
call fcn.00427ba3
push edi
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xd
push eax
sub esp, 0x18
lea eax, [ebp - 0x368]
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 7
call fcn.00427ba3
lea eax, [ebp - 0x30]
push eax
call fcn.004516a9
mov eax, dword [ebp - 0x34]
cmp eax, esi
jb 0x4363a3
mov ecx, dword [ebp - 0x48]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x43639a
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x1c], esi
jb 0x4363bb
mov eax, dword [ebp - 0x30]
push ebx
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.004527e9
mov edi, dword [ebp + 0x2c]
mov eax, edi
mov esi, dword [ebp + 0x28]
sub eax, esi
push 0x18
pop ecx
cdq
idiv ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x436402
push 0x6ce25c
mov ecx, esi
call fcn.00436e07
test al, al
je 0x436402
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp + 0x4c]
call fcn.00427ba3
mov edi, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x43645f
cmp esi, edi
je 0x43641f
push 0x18
pop ebx
mov ecx, esi
call fcn.00427afc
add esi, ebx
cmp esi, edi
jne 0x43640d
mov esi, dword [ebp + 0x28]
xor ebx, ebx
mov eax, dword [ebp + 0x30]
sub eax, esi
mov dword [ebp + 0x68], esi
push 0x18
cdq
pop ecx
idiv ecx
imul eax, eax, 0x18
mov dword [ebp + 0x74], eax
cmp eax, 0x1000
jb 0x43644d
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x74]
mov esi, dword [ebp + 0x68]
push eax
push esi
call fcn.006643a9
pop ecx
pop ecx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
lea ecx, [ebp - 0x30]
call fcn.00427afc
push 8
pop esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp + 0x4c]
mov byte [ebp - 4], 0x11
cmp dword [ebp + 0x60], esi
jb 0x436482
mov eax, dword [ebp + 0x4c]
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004527e9
mov edi, dword [ebp - 0x14]
mov eax, edi
mov esi, dword [ebp - 0x18]
sub eax, esi
push 0x18
cdq
pop ecx
idiv ecx
xor edx, edx
inc edx
cmp edx, eax
sbb bl, bl
inc bl
test esi, esi
je 0x436504
cmp esi, edi
je 0x4364c3
mov ecx, esi
call fcn.00427afc
push 0x18
pop eax
add esi, eax
cmp esi, edi
jne 0x4364ae
mov esi, dword [ebp - 0x18]
push eax
pop ecx
mov eax, dword [ebp - 0x10]
sub eax, esi
mov dword [ebp + 0x68], esi
cdq
idiv ecx
imul eax, eax, 0x18
mov dword [ebp + 0x74], eax
cmp eax, 0x1000
jb 0x4364ee
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x74]
mov esi, dword [ebp + 0x68]
push eax
push esi
call fcn.006643a9
xor edi, edi
pop ecx
pop ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
jmp 0x436506
xor edi, edi
lea ecx, [ebp - 0x60]
call fcn.00427afc
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.00427afc
push 8
pop esi
jmp 0x436521
xor edi, edi
push 0x6ce190
lea eax, [ebp - 0x78]
push eax
call fcn.0046665e
cmp byte [ebp + 0x78], 0
mov byte [ebp - 4], 0x12
je 0x4365b8
cmp dword [ebp - 0x68], 0
je 0x4365b8
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], esi
jb 0x43654a
mov eax, dword [ebp - 0x78]
push eax
call fcn.004524e4
lea eax, [ebp + 0x4c]
cmp dword [ebp + 0x60], esi
jb 0x43655b
mov eax, dword [ebp + 0x4c]
push 0x6ce944
push 0x6ce7dc
push eax
lea eax, [ebp]
push 0x6ce960
push eax
call fcn.004577f2
add esp, 0x14
lea eax, [ebp]
mov byte [ebp - 4], 0x13
cmp dword [ebp + 0x14], esi
jb 0x436586
mov eax, dword [ebp]
push eax
call fcn.0046614f
test eax, eax
je 0x4365a7
lea eax, [ebp]
cmp dword [ebp + 0x14], esi
jb 0x43659b
mov eax, dword [ebp]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
xor eax, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp]
lea ebx, [eax + 1]
call fcn.00427afc
call fcn.0056dcfd
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x30], ax
mov dword [ebp], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], ecx
mov word [ebp], ax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp]
push eax
call fcn.00431af3
mov byte [ebp - 4], 0x12
test al, al
je 0x436609
push 0x6d2890
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.0047bd15
push 0x6ce970
push 0x6ce9a4
call fcn.004327d5
push str.application_x_bittorrentsearchdescriptionxml
push 0x6cea14
call fcn.004327d5
push str.application_x_bittorrent_skin
push 0x6cea64
call fcn.004327d5
push str.application_x_bittorrent_key
push 0x6ceab0
call fcn.004327d5
push str.application_x_bittorrent_app
push 0x6ceafc
call fcn.004327d5
push str.application_x_bittorrent_appinst
push 0x6ceb54
call fcn.004327d5
push str.Magnet
call fcn.00432a6a
push str.bittorrent
call fcn.00432a6a
push 0x6ceafe
call fcn.00432a6a
push 0x6ceb56
call fcn.00432a6a
push 0x6cea66
call fcn.00432a6a
push 0x6ceab2
call fcn.00432a6a
movzx eax, byte [0x7b4c98]
cmp eax, 5
push str.SoftwareClassesuTorrent
sbb esi, esi
neg esi
add esi, reloc.WS2_32.dll_accept
push esi
call fcn.0047b8a5
push str.SoftwareClassesApplicationsuTorrent.exe
push esi
call fcn.0047b8a5
push 0x6ce218
mov esi, reloc.WS2_32.dll_accept
push esi
call fcn.0047b8a5
push str.SoftwareBitTorrentuTorrent
push esi
call fcn.0047b8a5
push str.SoftwareBitTorrentengine
push esi
call fcn.0047b8a5
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalluTorrent
push esi
call fcn.0047b85b
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalluTorrent
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0047b85b
test bl, bl
je 0x4367f1
xor eax, eax
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x48], 7
mov word [ebp + 0x34], ax
cmp dword [0x7b4c98], 0x80000000
mov eax, str.rmdir__S__Q
mov byte [ebp - 4], 0x16
jb 0x43673e
mov eax, str.deltree__Y
push eax
lea ecx, [ebp + 0x34]
call fcn.00427ba3
cmp dword [ebp + 0x60], 8
lea eax, [ebp + 0x4c]
jb 0x436753
mov eax, dword [ebp + 0x4c]
mov esi, dword [sym.imp.KERNEL32.DLL_GetShortPathNameW]
push edi
push edi
push eax
call esi
cmp dword [ebp + 0x60], 8
lea ecx, [ebp + 0x4c]
jb 0x43676a
mov ecx, dword [ebp + 0x4c]
push eax
lea eax, [ebp - 0x778]
push eax
push ecx
call esi
test eax, eax
jne 0x436793
cmp dword [ebp + 0x60], 8
lea eax, [ebp + 0x4c]
jb 0x436785
mov eax, dword [ebp + 0x4c]
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x34]
push eax
call fcn.00427b45
jmp 0x4367a2
lea eax, [ebp - 0x778]
push eax
lea ecx, [ebp + 0x34]
call fcn.00437714
cmp dword [ebp + 0x48], 8
lea eax, [ebp + 0x34]
jb 0x4367ae
mov eax, dword [ebp + 0x34]
push eax
call fcn.005abc44
mov eax, dword [ebp + 0x48]
cmp eax, 8
jb 0x4367f6
mov ecx, dword [ebp + 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x4367e6
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
jmp 0x4367f6
call fcn.005abf33
lea ecx, [ebp - 0x78]
call fcn.00427afc
mov eax, dword [ebp + 0x60]
cmp eax, 8
jb 0x436839
mov ecx, dword [ebp + 0x4c]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x436830
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
xor eax, eax
mov dword [ebp + 0x5c], edi
lea ecx, [ebp - 0x160]
mov dword [ebp + 0x60], 7
mov word [ebp + 0x4c], ax
call fcn.00429fb7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x6c
leave
ret 8