Function at 0x4ccf30
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 0x50d049
mov eax, dword fs:[0]
push eax
mov eax, 0x7ec8
call fcn.00426620
mov eax, dword [0x54a2f8]
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.0047c2f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7ebc]
call fcn.0047c2f0
mov byte [ebp - 4], 1
mov edx, dword [ebx]
push esi
push ecx
lea ecx, [ebp - 0xc44]
call fcn.004f2a00
mov edi, 1
add esp, 8
mov dword [ebp - 0x7e98], edi
lea ecx, [ebp - 0x7e8c]
call fcn.004cc930
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x4cd07f
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.004f2a00
lea eax, [ebp - 0x62c]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cd013
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.004f34d0
add esp, 8
lea ecx, [ebp - 0x62c]
call fcn.004c1280
test eax, eax
je 0x4cd06a
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4cd121
inc esi
add edi, 0x30c
cmp esi, ebx
jl 0x4ccff0
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.004b70d0
add esp, 8
cmp eax, 1
je 0x4cd0cb
mov ecx, str.AREYOUSUREYOUWANTTOQUIT
call fcn.004f6db0
mov ecx, dword [ebx + 0x10]
mov edx, eax
push 0x124
push 0
call fcn.004b70d0
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 0x4ccfd1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7ebc]
call fcn.0047c150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7ec8]
call fcn.0047c150
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.004259b7
mov esp, ebp
pop ebp
ret
shr eax, 4
not eax
and eax, 1
je 0x4cd079
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x7ebc]
call fcn.0047bf90
lea ecx, [ebp - 0x7ebc]
call fcn.0047c190
mov edi, eax
push edi
call fcn.00425a0b
add esp, 4
lea ecx, [ebp - 0x7ebc]
mov ebx, eax
push edi
push ebx
call fcn.0047c200
lea ecx, [ebp - 0x7ebc]
call fcn.0047c230
push 0
lea eax, [ebp - 0xc44]
push eax
lea ecx, [ebp - 0x7ec8]
call fcn.0047bf40
test eax, eax
je 0x4cd3ab
push edi
push ebx
lea ecx, [ebp - 0x7ec8]
call fcn.0047c1d0
lea ecx, [ebp - 0x7ec8]
mov esi, eax
call fcn.0047c230
cmp esi, edi
jne 0x4cd39e
mov dword [ebp - 0x7e9c], 0
mov byte [ebp - 4], 2
push dword [ebp - 0x7ea8]
push 0
call fcn.004f34d0
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.00404640
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 0x4cd220
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.004f34d0
add esp, 8
mov edi, eax
mov dword [ebp - 0x7e9c], edi
test esi, esi
je 0x4cd272
push esi
call fcn.004259c8
add esp, 4
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cd277
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 0x4cd2b0
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.00425a0b
add esp, 4
mov esi, eax
mov dword [ebp - 0x7e9c], esi
test edi, edi
je 0x4cd2f0
push edi
call fcn.004259c8
add esp, 4
lea eax, [ebp - 0xc44]
push eax
push 0x52f134
push esi
call fcn.00404640
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 0x4cd310
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 0x4cd344
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 0x4cd3d4
push esi
call fcn.004259c8
add esp, 4
push ebx
call fcn.004259c8
add esp, 4
xor edi, edi
mov dword [ebp - 0x7e98], edi
jmp 0x4cd0d6
lea eax, [ebp - 0xc44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004ca0e0
test eax, eax
mov edx, 0x52f19c
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.004b70d0
add esp, 8
push ebx
call fcn.004259c8
add esp, 4
xor edi, edi
mov dword [ebp - 0x7e98], edi
jmp 0x4cd0d6