Function at 0x420870
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xac8
mov eax, 0x565d11
call fcn.0053cea9
and dword [ebp - 4], 0
call fcn.00437a9e
push eax
lea ecx, [ebp - 0xad4]
call fcn.00402723
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov esi, 0x104
push esi
lea eax, [ebp - 0x298]
push eax
push 0x598e70
mov ebx, str.string
push ebx
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x298], 0
jne 0x420baf
push esi
lea eax, [ebp - 0xab8]
push eax
push esi
lea eax, [ebp - 0x4a0]
push eax
push esi
lea eax, [ebp - 0x8b0]
push eax
push esi
lea eax, [ebp - 0x6a8]
push eax
push dword [ebp + 8]
call fcn.0053b814
and dword [ebp - 0xac4], 0
add esp, 0x24
mov dword [ebp - method.CLcMgrStub.virtual_0], vtable.CLcMgrStub.0
mov byte [ebp - 4], 2
call fcn.00437a9e
push eax
lea ecx, [ebp - 0xac0]
call fcn.00402723
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x6a8]
push eax
lea eax, [ebp - 0xac0]
push 0x59c8bc
push eax
mov byte [ebp - 4], 3
call fcn.0040a0e9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0xac0]
call esi
test eax, eax
jne 0x4209f9
call fcn.00437a9e
push eax
lea ecx, [ebp - 0xabc]
call fcn.00402723
mov byte [ebp - 4], 4
push dword [ebp + 8]
lea eax, [ebp - 0x90]
push 0x40
push eax
push 0x598e70
push str.ProjectUid
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x90], 0
je 0x4209e7
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x6a8]
push eax
lea eax, [ebp - 0xabc]
push 0x59c8bc
push eax
call fcn.0040a0e9
add esp, 0x14
push dword [ebp - 0xabc]
call esi
test eax, eax
je 0x4209e7
lea eax, [ebp - 0xabc]
push eax
lea ecx, [ebp - 0xac0]
call fcn.0040248f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.0040274b
push ecx
mov ecx, esp
mov dword [ebp - 0xacc], esp
push ebx
call fcn.0040235d
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xac0]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0xad0], esp
mov esi, esp
push eax
mov dword [ebp - 0xad0], eax
call fcn.00402431
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [ebp - 0xac8]
mov byte [ebp - 4], 3
call fcn.00416e97
push str.Description
lea ebx, [ebp - 0xabc]
call fcn.00416eec
lea ecx, [edi + 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.0040248f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.0040274b
push 0x599934
lea ebx, [ebp - 0xabc]
call fcn.00416eec
lea esi, [edi + 0xc]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0040248f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x420abc
lea eax, [ebp - 0x4a0]
push eax
push 0x599470
push esi
call fcn.0040a0e9
add esp, 0xc
cmp dword [edi + 0x24], 2
jl 0x420b93
push dword [ebp + 8]
lea eax, [ebp - 0x298]
push 0x104
push eax
push 0x598e70
push str.Icon
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x298], 0
je 0x420b14
lea ecx, [ebp - 0x298]
push ecx
push dword [ebp - 0xac0]
lea eax, [edi + 0x14]
push str._s_s
push eax
call fcn.0040a0e9
add esp, 0x10
jmp 0x420b93
cmp dword [edi + 0x20], 8
jne 0x420b44
push str.Icon.bmp
lea eax, [ebp - 0xac0]
push eax
lea eax, [ebp - 0xabc]
push eax
call fcn.0040193e
add esp, 0xc
lea ecx, [edi + 0x14]
push eax
mov byte [ebp - 4], 8
call fcn.0040248f
jmp 0x420b85
lea esi, [ebp - 0xabc]
call fcn.00411fd1
push str.Epson_SoftwareCommonAppInfo1Custom_ProjectIcon.bmp
mov eax, esi
push eax
lea eax, [ebp - 0xacc]
push eax
mov byte [ebp - 4], 9
call fcn.0040193e
add esp, 0xc
lea ecx, [edi + 0x14]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040248f
mov ecx, dword [ebp - 0xacc]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0xad0]
call fcn.0040274b
lea ecx, [ebp - 0xac8]
mov byte [ebp - 4], 1
call fcn.00416e86
jmp 0x420bc7
lea ecx, [ebp - 0x298]
push ecx
lea eax, [edi + 0x10]
push 0x599470
push eax
call fcn.0040a0e9
add esp, 0xc
mov ecx, dword [ebp - 0xad4]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
xor eax, eax
inc eax
call fcn.0053cf2c
ret 4