Function at 0x42b137
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.00405a58
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.00409413
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 0x42b3c7
mov esi, dword [edi + 0x54]
add esi, 0xe
mov ecx, esi
call fcn.004078bb
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.004078bb
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.00409413
add esp, 0xc
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42b245
mov ecx, dword [edi + 0x54]
lea eax, [ecx + 0x41e]
push eax
lea eax, [ecx + 0x216]
push eax
lea eax, [esp + 0x20]
push 0x442874
push eax
call fcn.00409413
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 0x444098
push 1
push ebx
push str.Publisher
push dword [esp + 0x24]
call ebp
push 0x36
mov esi, 0x4440e0
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 0x42b309
mov ecx, str.5.00
call fcn.004078bb
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, 0x444190
call fcn.004078bb
lea eax, [eax*2 + 2]
push eax
push 0x444190
jmp 0x42b345
mov ecx, str.4.00
call fcn.004078bb
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, 0x4441dc
call fcn.004078bb
lea eax, [eax*2 + 2]
push eax
push 0x4441dc
push 1
push ebx
push 0x444194
push dword [esp + 0x24]
call ebp
mov ecx, 0x4441b0
call fcn.004078bb
lea eax, [eax*2 + 2]
push eax
push 0x4441b0
push 1
push ebx
push 0x4441b4
push dword [esp + 0x24]
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [edi + 0x18ac]
call fcn.0040967a
test al, al
jne 0x42b3c5
push dword [edi + 0x18b0]
lea eax, [esp + 0x1c]
push 0x4441e0
push eax
call fcn.00409413
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.00424feb
mov bl, 1
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x220
ret 4