Function at 0x419c07
Capabilities:
Delete file
Get common file path
Read .ini file

Disassembly:
sub esp, 0x23c
push ebx
push esi
mov esi, ecx
push edi
push 0x445348
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], 0
call fcn.00428f20
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [esp + 0x28]
call fcn.0042ec56
push str.Setup.iss
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x3d]
push eax
push ecx
call fcn.004294c0
add esp, 8
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x30]
lea ecx, [esp + 0x20]
push edi
call fcn.0042ec02
push str._AskDestPath_0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [esp + 0x3d]
push edx
push eax
mov eax, dword [esp + 0x28]
push str.szPath
push eax
call ebx
test eax, eax
jne 0x419cb2
lea ecx, [esp + 0xf]
call fcn.004197a0
mov cl, byte [eax]
lea edx, [esp + 0xe]
push 0x43d190
push edx
mov byte [esp + 0x16], cl
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0041a1c0
add esp, 8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
push edi
lea ecx, [esp + 0x20]
call fcn.0042ec02
push str._SdRegisterUser_0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x3d]
push edx
push eax
push str.szName
push ecx
call ebx
test eax, eax
jne 0x419d2f
lea ecx, [esp + 0xf]
call fcn.004197c0
mov dl, byte [eax]
lea eax, [esp + 0xe]
push 0x43d180
push eax
mov byte [esp + 0x16], dl
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x3d]
push ecx
push edx
push str.szCompany
push eax
call ebx
test eax, eax
jne 0x419d67
lea ecx, [esp + 0xf]
call fcn.004197c0
mov cl, byte [eax]
lea edx, [esp + 0xe]
push 0x43d180
push edx
mov byte [esp + 0x16], cl
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0x144]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x30]
push 1
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x444e98
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
setne bl
call fcn.0042ebf6
test bl, bl
je 0x419dcc
push 0x444e98
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push str.Setup.log
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push str.__s__f1_
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x3d]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator
push str.___f2_
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push str.___c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [esp + 0x1c]
call fcn.0042ec56
push 0x445248
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
call fcn.00429180
add esp, 0xc
test eax, eax
je 0x419e90
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1b]
call fcn.00419810
mov cl, byte [eax]
lea edx, [esp + 0xe]
push 0x43d170
push edx
mov byte [esp + 0x16], cl
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
push 8
push ecx
push 0x449060
push str.ResultCode
push str.ResponseResult
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x34]
push 0x4452ac
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x419ef3
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x13]
call fcn.004197e0
mov dl, byte [eax]
lea eax, [esp + 0xe]
push 0x43d160
push eax
mov byte [esp + 0x16], dl
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x18]
call fcn.0042ebf6
lea ecx, [esp + 0x10]
call fcn.0042ebf6
lea ecx, [esp + 0x14]
call fcn.0042ebf6
lea ecx, [esp + 0x1c]
call fcn.0042ebf6
lea ecx, [esp + 0x28]
call fcn.0042ebf6
lea ecx, [esp + 0x2c]
call fcn.0042ebf6
lea ecx, [esp + 0x20]
call fcn.0042ebf6
lea ecx, [esp + 0x24]
call fcn.0042ebf6
mov al, byte [esp + 0x3c]
test al, al
je 0x419f4c
lea ecx, [esp + 0x3c]
call fcn.00429140
pop edi
pop esi
pop ebx
add esp, 0x23c
ret