Function at 0x4cb900
Capabilities:
Check if file exists
Delete file
Get file attributes
Get installed programs
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ac89
mov eax, dword fs:[0]
push eax
mov eax, 0x7ec8
call fcn.00425790
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7eac], edx
mov ebx, ecx
mov dword [ebp - 0x7e94], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x7ec8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x7ea8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7eb0], eax
xor eax, eax
mov dword [ebp - 0x7ea4], esi
mov dword [ebp - 0x7ea0], eax
call fcn.0047acf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7ebc]
call fcn.0047acf0
mov byte [ebp - 4], 1
mov edx, dword [ebx]
push esi
push ecx
lea ecx, [ebp - 0xc44]
call fcn.004f13e0
mov edi, 1
add esp, 8
mov dword [ebp - 0x7e98], edi
lea ecx, [ebp - 0x7e8c]
call fcn.004cb300
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x4cba4f
lea edi, [ebp - 0x7e8c]
nop
mov eax, dword [ebp - 0x7e94]
mov edx, edi
push dword [eax + 4]
push ecx
lea ecx, [ebp - 0x62c]
call fcn.004f13e0
lea eax, [ebp - 0x62c]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cb9e3
push dword [ebp - 0x7ea4]
sub eax, edx
lea ecx, [ebp - 0x62c]
sar eax, 1
lea eax, [ecx + eax*2]
mov ecx, 0x5c
mov word [eax], cx
add eax, 2
push eax
call fcn.004f1eb0
add esp, 8
lea ecx, [ebp - 0x62c]
call fcn.004bfc50
test eax, eax
je 0x4cba3a
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4cbaf1
inc esi
add edi, 0x30c
cmp esi, ebx
jl 0x4cb9c0
mov edi, dword [ebp - 0x7e98]
mov ebx, dword [ebp - 0x7e94]
mov edx, dword [ebp - 0x7eb0]
push 0x41
push 0
mov ecx, dword [ebx + 0x10]
call fcn.004b5ab0
add esp, 8
cmp eax, 1
je 0x4cba9b
mov ecx, str.AREYOUSUREYOUWANTTOQUIT
call fcn.004f5790
mov ecx, dword [ebx + 0x10]
mov edx, eax
push 0x124
push 0
call fcn.004b5ab0
xor ecx, ecx
add esp, 8
cmp eax, 6
cmove edi, ecx
mov dword [ebp - 0x7e98], edi
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
jne 0x4cb9a1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7ebc]
call fcn.0047ab50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7ec8]
call fcn.0047ab50
mov eax, dword [ebp - 0x7ea0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00424b17
mov esp, ebp
pop ebp
ret
shr eax, 4
not eax
and eax, 1
je 0x4cba49
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x7ebc]
call fcn.0047a990
lea ecx, [ebp - 0x7ebc]
call fcn.0047ab90
mov edi, eax
push edi
call fcn.00424b6b
add esp, 4
lea ecx, [ebp - 0x7ebc]
mov ebx, eax
push edi
push ebx
call fcn.0047ac00
lea ecx, [ebp - 0x7ebc]
call fcn.0047ac30
push 0
lea eax, [ebp - 0xc44]
push eax
lea ecx, [ebp - 0x7ec8]
call fcn.0047a940
test eax, eax
je 0x4cbd7b
push edi
push ebx
lea ecx, [ebp - 0x7ec8]
call fcn.0047abd0
lea ecx, [ebp - 0x7ec8]
mov esi, eax
call fcn.0047ac30
cmp esi, edi
jne 0x4cbd6e
mov dword [ebp - 0x7e9c], 0
mov byte [ebp - 4], 2
push dword [ebp - 0x7ea8]
push 0
call fcn.004f1eb0
mov esi, eax
lea eax, [ebp - 0x2c44]
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push str._s_s
push eax
mov dword [ebp - 0x7e9c], esi
call fcn.00404110
add esp, 0x18
lea eax, [ebp - 0x7ed0]
push eax
lea eax, [ebp - 0x7e90]
push eax
push 0
push 0x20006
push 0
push esi
push 0
lea eax, [ebp - 0x2c44]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cbbf0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.DisplayName
push dword [ebp - 0x7e90]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x7eac]
push 0
call fcn.004f1eb0
add esp, 8
mov edi, eax
mov dword [ebp - 0x7e9c], edi
test esi, esi
je 0x4cbc42
push esi
call fcn.00424b28
add esp, 4
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cbc47
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push str.Publisher
push dword [ebp - 0x7e90]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0xc44]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cbc80
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 3]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424b6b
add esp, 4
mov esi, eax
mov dword [ebp - 0x7e9c], esi
test edi, edi
je 0x4cbcc0
push edi
call fcn.00424b28
add esp, 4
lea eax, [ebp - 0xc44]
push eax
push 0x52d134
push esi
call fcn.00404110
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cbce0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.UninstallString
push dword [ebp - 0x7e90]
call edi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cbd14
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x7e90]
call edi
mov dword [ebp - 0x7ea0], 1
mov byte [ebp - 4], 1
test esi, esi
je 0x4cbda4
push esi
call fcn.00424b28
add esp, 4
push ebx
call fcn.00424b28
add esp, 4
xor edi, edi
mov dword [ebp - 0x7e98], edi
jmp 0x4cbaa6
lea eax, [ebp - 0xc44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004c8ab0
test eax, eax
mov edx, 0x52d19c
mov eax, str.Uninstaller_could_not_be_installed.
cmove edx, eax
mov eax, dword [ebp - 0x7e94]
push 0x10
push 0
mov ecx, dword [eax + 0x10]
call fcn.004b5ab0
add esp, 8
push ebx
call fcn.00424b28
add esp, 4
xor edi, edi
mov dword [ebp - 0x7e98], edi
jmp 0x4cbaa6