Function at 0x40ddc0
Capabilities:
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x10c], str.SoftwareMicrosoftWindowsCurrentVersionUninstallTibetSystem__
push str.true
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x74]
push edx
call fcn.00420120
add esp, 8
test eax, eax
jne 0x40de01
mov eax, 1
jmp 0x40e16f
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0041e1b0
add esp, 8
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x20]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0041e1c0
add esp, 8
mov eax, dword [ebp - 0x42c]
add eax, 0x184
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x42ae3c
mov edx, dword [0x42f060]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40e16d
mov dword [ebp - 0x110], 0
push 0x42ae40
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00420d20
add esp, 8
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x40dec8
push str.Uninstall
call fcn.0041e990
add esp, 4
mov edx, dword [ebp - 0x110]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x110], eax
jmp 0x40deda
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.0041e990
add esp, 4
push eax
mov edx, dword [ebp - 0x110]
push edx
push 1
push 0
push str.DisplayName
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx + 4]
cmp dword [edx + 0x24], 0
je 0x40df49
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x24]
push edx
call fcn.0041e990
add esp, 4
push eax
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x24]
push edx
push 1
push 0
push str.DisplayVersion
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx + 4]
cmp dword [edx + 0x2c], 0
je 0x40df8e
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
call fcn.0041e990
add esp, 4
push eax
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x2c]
push edx
push 1
push 0
push str.HelpLink
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx + 4]
cmp dword [edx + 0x30], 0
je 0x40dfd3
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x30]
push edx
call fcn.0041e990
add esp, 4
push eax
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x30]
push edx
push 1
push 0
push str.URLUpdateInfo
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x104
lea ecx, [ebp - 0x320]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.uninst.exe
lea edx, [ebp - 0x320]
push edx
call fcn.0041e1c0
add esp, 8
push str.___
lea eax, [ebp - 0x218]
push eax
call fcn.0041e1b0
add esp, 8
mov ecx, dword [ebp - 0x42c]
add ecx, 0x184
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.0041e1c0
add esp, 8
push 0x42aea0
lea eax, [ebp - 0x218]
push eax
call fcn.0041e1c0
add esp, 8
lea ecx, [ebp - 0x320]
push ecx
mov ecx, dword [ebp - 0x42c]
call fcn.0040dcb0
test eax, eax
je 0x40e16d
push 0x42aea4
lea edx, [ebp - 0x428]
push edx
call fcn.0041e1b0
add esp, 8
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x428]
push ecx
call fcn.0041e1c0
add esp, 8
push 0x42aea8
lea edx, [ebp - 0x428]
push edx
call fcn.0041e1c0
add esp, 8
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
push ecx
call fcn.0041e1c0
add esp, 8
lea edx, [ebp - 0x428]
push edx
call fcn.0041e990
add esp, 4
push eax
lea eax, [ebp - 0x428]
push eax
push 1
push 0
push 0x42aeac
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x42aebc
lea eax, [ebp - 0x428]
push eax
call fcn.0041e1b0
add esp, 8
mov ecx, dword [ebp - 0x42c]
add ecx, 0x184
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.0041e1c0
add esp, 8
push 0x42aec0
lea eax, [ebp - 0x428]
push eax
call fcn.0041e1c0
add esp, 8
push 0
push 0x17
lea ecx, [ebp - 0x218]
push ecx
push 0
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x458]
push ecx
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x42c]
call fcn.0040b480
mov eax, 1
jmp 0x40e16f
xor eax, eax
mov esp, ebp
pop ebp
ret