Function at 0x1000a250
Capabilities:
Check if file exists
Delete file

Disassembly:
sub esp, 0x138
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
push 0x12b
lea eax, [esp + 0x1d]
push 0
push eax
mov byte [esp + 0x24], 0
call sub.MSVCR90.dll_memset
mov ebp, dword [sym.imp.MSVCR90.dll_sprintf]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
mov byte [esp + 0x13], 0x41
mov dword [esp + 0x14], 0x1a
movsx edi, byte [esp + 0x13]
push edi
lea ecx, [esp + 0x1c]
push str._c:VC_RED.cab
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call ebx
test eax, eax
je 0x1000a521
lea eax, [esp + 0x18]
push eax
call esi
push edi
lea ecx, [esp + 0x1c]
push str._c:_vcredist.bmp
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call esi
push edi
lea eax, [esp + 0x1c]
push str._c:VC_RED.MSI
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call esi
push edi
lea edx, [esp + 0x1c]
push str._c:VC_RED.cab
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call esi
push edi
lea ecx, [esp + 0x1c]
push str._c:install.res.3082.dll
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call esi
push edi
lea eax, [esp + 0x1c]
push str._c:install.res.2052.dll
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call esi
push edi
lea edx, [esp + 0x1c]
push str._c:install.res.1049.dll
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call esi
push edi
lea ecx, [esp + 0x1c]
push str._c:install.res.1042.dll
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call esi
push edi
lea eax, [esp + 0x1c]
push str._c:install.res.1041.dll
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call esi
push edi
lea edx, [esp + 0x1c]
push str._c:install.res.1040.dll
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call esi
push edi
lea ecx, [esp + 0x1c]
push str._c:install.res.1036.dll
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call esi
push edi
lea eax, [esp + 0x1c]
push str._c:install.res.1033.dll
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call esi
push edi
lea edx, [esp + 0x1c]
push str._c:install.res.1031.dll
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call esi
push edi
lea ecx, [esp + 0x1c]
push str._c:install.res.1028.dll
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call esi
push edi
lea eax, [esp + 0x1c]
push str._c:install.ini
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call esi
push edi
lea edx, [esp + 0x1c]
push str._c:install.exe
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call esi
push edi
lea ecx, [esp + 0x1c]
push str._c:globdata.ini
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call esi
push edi
lea eax, [esp + 0x1c]
push str._c:eula.1028.txt
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call esi
push edi
lea edx, [esp + 0x1c]
push str._c:eula.1031.txt
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call esi
push edi
lea ecx, [esp + 0x1c]
push str._c:eula.1033.txt
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call esi
push edi
lea eax, [esp + 0x1c]
push str._c:eula.1036.txt
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call esi
push edi
lea edx, [esp + 0x1c]
push str._c:eula.1040.txt
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call esi
push edi
lea ecx, [esp + 0x1c]
push str._c:eula.1041.txt
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call esi
push edi
lea eax, [esp + 0x1c]
push str._c:eula.1042.txt
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call esi
push edi
lea edx, [esp + 0x1c]
push str._c:eula.1049.txt
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call esi
push edi
lea ecx, [esp + 0x1c]
push str._c:eula.2052.txt
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call esi
push edi
lea eax, [esp + 0x1c]
push str._c:eula.3082.txt
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call esi
inc byte [esp + 0x13]
sub dword [esp + 0x14], 1
jne 0x1000a2a0
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100190a2
add esp, 0x138
ret