Function at 0x4014a3
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Parse pe header
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
push ebx
push esi
xor esi, esi
push edi
mov word [ebp - 0x41c], si
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x404408], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
push 0x104
lea eax, [ebp - 0x624]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x40152a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x40150e
push str.This_installer_is_for_Windows_2000_and_later_n
call fcn.00401080
pop ecx
mov dword [0x40440c], 0xfd
jmp 0x401721
push eax
push str.GetModuleFileName___failed____u_n
call fcn.00401080
pop ecx
pop ecx
mov dword [0x40440c], 0xff
jmp 0x401721
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp word [eax], 0x5a4d
jne 0x4016fd
cmp dword [ecx], 0x4550
jne 0x4016fd
movzx ebx, word [ecx + 6]
test ebx, ebx
movzx eax, word [ecx + 0x14]
lea edi, [eax + ecx + 0x18]
jbe 0x401589
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
push 8
mov edx, str..tsustub
call fcn.00401046
test eax, eax
je 0x40157e
add dword [ebp - 4], 0x28
inc esi
cmp esi, ebx
jb 0x401560
jmp 0x401589
imul esi, esi, 0x28
mov esi, dword [esi + edi + 0x14]
test esi, esi
jne 0x4015a3
push str.Executable_has_no_.tsustub_section_n
call fcn.00401080
pop ecx
mov dword [0x40440c], 0xfe
jmp 0x401721
lea eax, [ebp - 0x41c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4015ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetTempPath___failed____u_n
jmp 0x401514
xor ebx, ebx
cmp word [ebp - 0x41c], bx
lea eax, [ebp - 0x41c]
je 0x4015e2
inc eax
inc eax
cmp word [eax], bx
jne 0x4015db
movzx edx, word [ebp - 8]
mov ecx, dword [ebp - 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
shr ecx, 0x10
xor ecx, edx
push ecx
push str.Tsu__04X.dll
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
push 0xffffffffffffffff
push 0xffff000f
push esi
lea eax, [ebp - 0x624]
push eax
call fcn.004010b2
cmp eax, ebx
je 0x401643
lea ecx, [ebp - 0x41c]
push ecx
push eax
push str.Error__u_while_extracting_TSU.DLL_to__ls_n
call fcn.00401080
add esp, 0xc
mov dword [0x40440c], 0xf9
jmp 0x401721
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x401681
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x41c]
push ecx
push eax
push str.Error__u_while_loading_TSU.DLL__ls_n
call fcn.00401080
add esp, 0xc
mov dword [0x40440c], 0xf9
jmp 0x401712
push str._TsuMainW_8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x4016a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x41c]
push ecx
push eax
push str.Error__u_while_retrieving_entry_point_from__ls_n
jmp 0x40166a
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x20
push eax
lea eax, [ebp - 0x624]
push eax
call fcn.004013b8
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0xc], eax
jne 0x4016d3
xor eax, eax
jmp 0x4016df
cmp word [esi], bx
je 0x4016df
inc eax
inc eax
cmp word [eax], bx
jne 0x4016d8
lea ecx, [ebp - 0x624]
push ecx
push str.__d:__s_
push eax
call edi
add esp, 0xc
push ebx
push esi
call dword [ebp - 8]
mov dword [0x40440c], eax
jmp 0x401712
push str.Executable_has_no_valid_MZ_signature_n
call fcn.00401080
pop ecx
mov dword [0x40440c], 0xfe
cmp dword [ebp - 4], 0
je 0x401721
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [ebp - 0x41c], 0
je 0x40177b
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40177b
and eax, 0xfffffffa
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0xa
pop esi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40177b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40177b
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
jne 0x401751
mov ecx, dword [ebp - 0xc]
call fcn.00401010
push dword [0x40440c]
call dword [sym.imp.KERNEL32.dll_ExitProcess]