Function at 0x42b0dd
Capabilities:
Check if file exists
Get file attributes
Set registry value

Disassembly:
sub esp, 0x220
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
call fcn.00405a51
mov eax, dword [edi + 0x54]
add eax, 0x626
push eax
lea eax, [esp + 0x1c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.0040940c
mov eax, dword [edi + 0x54]
add esp, 0xc
cmp dword [eax + 4], 2
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push ebx
mov edx, 0x20106
mov ecx, 0x20206
cmove ecx, edx
push ecx
push ebx
push ebx
push ebx
push dword [esp + 0x38]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42b36d
mov esi, dword [edi + 0x54]
add esi, 0xe
mov ecx, esi
call fcn.004078b4
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
push str.DisplayName
push dword [esp + 0x24]
call ebp
mov esi, dword [edi + 0x54]
add esi, 0x216
mov ecx, esi
call fcn.004078b4
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
push str.InstallLocation
push dword [esp + 0x24]
call ebp
mov eax, dword [edi + 0x54]
add eax, 0x216
push eax
lea eax, [esp + 0x1c]
push str._s_terminal.ico
push eax
call fcn.0040940c
add esp, 0xc
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42b1eb
mov ecx, dword [edi + 0x54]
lea eax, [ecx + 0x41e]
push eax
lea eax, [ecx + 0x216]
push eax
lea eax, [esp + 0x20]
push 0x43e864
push eax
call fcn.0040940c
add esp, 0x10
mov eax, dword [esp + 0x20]
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x20]
push 1
push ebx
push str.DisplayIcon
push dword [esp + 0x24]
call ebp
push 0x36
push 0x440068
push 1
push ebx
push str.Publisher
push dword [esp + 0x24]
call ebp
push 0x36
mov esi, 0x4400b0
push esi
push 1
push ebx
push str.HelpLink
push dword [esp + 0x24]
call ebp
push 0x36
push esi
push 1
push ebx
push str.UrlInfoAbout
push dword [esp + 0x24]
call ebp
mov esi, dword [esp + 0x234]
mov eax, dword [esi + 8]
lea eax, [eax*2 + 2]
push eax
push dword [esi + 4]
push 1
push ebx
push str.UninstallString
push dword [esp + 0x24]
call ebp
mov eax, dword [edi + 0x54]
cmp dword [eax + 8], 4
jae 0x42b2af
mov ecx, str.5.00
call fcn.004078b4
lea eax, [eax*2 + 2]
push eax
push str.5.00
push 1
push ebx
push str.DisplayVersion
push dword [esp + 0x24]
call ebp
mov ecx, 0x440160
call fcn.004078b4
lea eax, [eax*2 + 2]
push eax
push 0x440160
jmp 0x42b2eb
mov ecx, str.4.00
call fcn.004078b4
lea eax, [eax*2 + 2]
push eax
push str.4.00
push 1
push ebx
push str.DisplayVersion
push dword [esp + 0x24]
call ebp
mov ecx, 0x4401ac
call fcn.004078b4
lea eax, [eax*2 + 2]
push eax
push 0x4401ac
push 1
push ebx
push 0x440164
push dword [esp + 0x24]
call ebp
mov ecx, 0x440180
call fcn.004078b4
lea eax, [eax*2 + 2]
push eax
push 0x440180
push 1
push ebx
push 0x440184
push dword [esp + 0x24]
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [edi + 0x18ac]
call fcn.00409673
test al, al
jne 0x42b36b
push dword [edi + 0x18b0]
lea eax, [esp + 0x1c]
push 0x4401b0
push eax
call fcn.0040940c
mov eax, dword [edi + 0x54]
add esp, 0xc
add eax, 0x216
push 1
push dword [esi + 4]
push ecx
push ecx
push dword [esp + 0x2c]
push dword [esi + 4]
push eax
call fcn.00424f91
mov bl, 1
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x220
ret 4