Function at 0x40b430
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__
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0041a280
add esp, 8
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0041a290
add esp, 8
mov eax, dword [ebp - 0x42c]
add eax, 0x7c
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x424804
mov edx, dword [str.Uninstall_Info]
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 0x40b755
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.0041a8f0
add esp, 4
push eax
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x1c]
push ecx
push 1
push 0
push str.DisplayName
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x20], 0
je 0x40b537
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.0041a8f0
add esp, 4
push eax
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x20]
push ecx
push 1
push 0
push str.DisplayVersion
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x28], 0
je 0x40b57c
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.0041a8f0
add esp, 4
push eax
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x28]
push ecx
push 1
push 0
push str.HelpLink
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x2c], 0
je 0x40b5c1
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x2c]
push ecx
call fcn.0041a8f0
add esp, 4
push eax
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x2c]
push ecx
push 1
push 0
push str.URLUpdateInfo
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x104
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.uninst.exe
lea ecx, [ebp - 0x320]
push ecx
call fcn.0041a290
add esp, 8
push str.___
lea edx, [ebp - 0x218]
push edx
call fcn.0041a280
add esp, 8
mov eax, dword [ebp - 0x42c]
add eax, 0x7c
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.0041a290
add esp, 8
push 0x424850
lea edx, [ebp - 0x218]
push edx
call fcn.0041a290
add esp, 8
lea eax, [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x42c]
call fcn.0040b320
test eax, eax
je 0x40b755
push 0x424854
lea ecx, [ebp - 0x428]
push ecx
call fcn.0041a280
add esp, 8
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x428]
push eax
call fcn.0041a290
add esp, 8
push 0x424858
lea ecx, [ebp - 0x428]
push ecx
call fcn.0041a290
add esp, 8
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x428]
push eax
call fcn.0041a290
add esp, 8
lea ecx, [ebp - 0x428]
push ecx
call fcn.0041a8f0
add esp, 4
push eax
lea edx, [ebp - 0x428]
push edx
push 1
push 0
push 0x42485c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x42486c
lea edx, [ebp - 0x428]
push edx
call fcn.0041a280
add esp, 8
mov eax, dword [ebp - 0x42c]
add eax, 0x7c
push eax
lea ecx, [ebp - 0x428]
push ecx
call fcn.0041a290
add esp, 8
push 0x424870
lea edx, [ebp - 0x428]
push edx
call fcn.0041a290
add esp, 8
push 0
push 2
lea eax, [ebp - 0x218]
push eax
push 0
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x180]
push eax
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x320]
push edx
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, dword [ebp - 0x42c]
call fcn.00409930
mov eax, 1
jmp 0x40b757
xor eax, eax
mov esp, ebp
pop ebp
ret