Function at 0x4014d8
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, 0x320
push ebx
push esi
xor ebx, ebx
push edi
mov byte [ebp - 0x21c], 0
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x404408], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
not esi
xor esi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
push 0x104
xor esi, eax
lea eax, [ebp - 0x320]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401565
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileName___failed____u_n
call fcn.00401098
pop ecx
pop ecx
mov dword [0x40440c], 0xff
jmp 0x401757
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp word [eax], 0x5a4d
jne 0x401729
cmp dword [ecx], 0x4550
jne 0x401729
movzx eax, word [ecx + 0x14]
lea ebx, [eax + ecx + 0x18]
movzx eax, word [ecx + 6]
xor edi, edi
test eax, eax
mov dword [ebp - 0xc], eax
jbe 0x4015ca
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 4]
push 8
mov edx, str..tsustub
call fcn.00401046
test eax, eax
je 0x4015bf
add dword [ebp - 4], 0x28
inc edi
cmp edi, dword [ebp - 0xc]
jb 0x4015a0
jmp 0x4015ca
imul edi, edi, 0x28
mov edi, dword [edi + ebx + 0x14]
test edi, edi
jne 0x4015e4
push str.Executable_has_no_.tsustub_section_n
call fcn.00401098
pop ecx
mov dword [0x40440c], 0xfe
jmp 0x401757
lea eax, [ebp - 0x21c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x40160b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetTempPath___failed____u_n
jmp 0x40154f
cmp byte [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
je 0x401620
inc eax
cmp byte [eax], 0
jne 0x40161a
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push str.Tsu_08lX.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0xffffffffffffffff
push 0xffff000e
push edi
lea eax, [ebp - 0x320]
push eax
call fcn.004010ca
test eax, eax
je 0x401675
lea ecx, [ebp - 0x21c]
push ecx
push eax
push str.Error__u_while_extracting_TSU.DLL_to__s_n
call fcn.00401098
add esp, 0xc
mov dword [0x40440c], 0xf9
jmp 0x401757
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp - 4], eax
jne 0x4016b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x21c]
push ecx
push eax
push str.Error__u_while_loading_TSU.DLL__s_n
call fcn.00401098
add esp, 0xc
mov dword [0x40440c], 0xf9
jmp 0x40173e
push str._TsuMainA_8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x4016da
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x21c]
push ecx
push eax
push str.Error__u_while_retrieving_entry_point_from__s_n
jmp 0x40169c
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x20
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.004013f1
mov edi, eax
test edi, edi
mov dword [ebp - 8], edi
je 0x40170b
cmp byte [edi], 0
je 0x40170b
inc eax
cmp byte [eax], 0
jne 0x401705
lea ecx, [ebp - 0x320]
push ecx
push str.__d:__s_
push eax
call esi
add esp, 0xc
push 0
push edi
call ebx
mov dword [0x40440c], eax
jmp 0x40173e
push str.Executable_has_no_valid_MZ_signature_n
call fcn.00401098
pop ecx
mov dword [0x40440c], 0xfe
cmp dword [ebp - 4], 0
je 0x401757
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x401744
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp - 0x21c], 0
je 0x4017b0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4017b0
and eax, 0xfffffffa
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0xa
pop esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4017b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4017b0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
jne 0x401786
mov ecx, dword [ebp - 8]
call fcn.00401010
push dword [0x40440c]
call dword [sym.imp.KERNEL32.dll_ExitProcess]