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

Disassembly:
push 0xac8
mov eax, 0x566503
call fcn.0053d749
and dword [ebp - 4], 0
call fcn.00438329
push eax
lea ecx, [ebp - 0xad4]
call fcn.00402a28
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov esi, 0x104
push esi
lea eax, [ebp - 0x298]
push eax
push 0x599168
mov ebx, str.string
push ebx
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x298], 0
jne 0x421446
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.0053c0d4
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.00438329
push eax
lea ecx, [ebp - 0xac0]
call fcn.00402a28
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x6a8]
push eax
lea eax, [ebp - 0xac0]
push 0x59cbac
push eax
mov byte [ebp - 4], 3
call fcn.0040ab0a
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0xac0]
call esi
test eax, eax
jne 0x421290
call fcn.00438329
push eax
lea ecx, [ebp - 0xabc]
call fcn.00402a28
mov byte [ebp - 4], 4
push dword [ebp + 8]
lea eax, [ebp - 0x90]
push 0x40
push eax
push 0x599168
push str.ProjectUid
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x90], 0
je 0x42127e
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x6a8]
push eax
lea eax, [ebp - 0xabc]
push 0x59cbac
push eax
call fcn.0040ab0a
add esp, 0x14
push dword [ebp - 0xabc]
call esi
test eax, eax
je 0x42127e
lea eax, [ebp - 0xabc]
push eax
lea ecx, [ebp - 0xac0]
call fcn.0040279f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.00402a50
push ecx
mov ecx, esp
mov dword [ebp - 0xacc], esp
push ebx
call fcn.0040266d
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.00402741
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [ebp - 0xac8]
mov byte [ebp - 4], 3
call fcn.004176cf
push str.Description
lea ebx, [ebp - 0xabc]
call fcn.00417724
lea ecx, [edi + 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.0040279f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.00402a50
push 0x599c2c
lea ebx, [ebp - 0xabc]
call fcn.00417724
lea esi, [edi + 0xc]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0040279f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.00402a50
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x421353
lea eax, [ebp - 0x4a0]
push eax
push 0x599768
push esi
call fcn.0040ab0a
add esp, 0xc
cmp dword [edi + 0x24], 2
jl 0x42142a
push dword [ebp + 8]
lea eax, [ebp - 0x298]
push 0x104
push eax
push 0x599168
push str.Icon
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x298], 0
je 0x4213ab
lea ecx, [ebp - 0x298]
push ecx
push dword [ebp - 0xac0]
lea eax, [edi + 0x14]
push str._s_s
push eax
call fcn.0040ab0a
add esp, 0x10
jmp 0x42142a
cmp dword [edi + 0x20], 8
jne 0x4213db
push str.Icon.bmp
lea eax, [ebp - 0xac0]
push eax
lea eax, [ebp - 0xabc]
push eax
call fcn.00401c58
add esp, 0xc
lea ecx, [edi + 0x14]
push eax
mov byte [ebp - 4], 8
call fcn.0040279f
jmp 0x42141c
lea esi, [ebp - 0xabc]
call fcn.004128a1
push str.Epson_SoftwareCommonAppInfo1Custom_ProjectIcon.bmp
mov eax, esi
push eax
lea eax, [ebp - 0xacc]
push eax
mov byte [ebp - 4], 9
call fcn.00401c58
add esp, 0xc
lea ecx, [edi + 0x14]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040279f
mov ecx, dword [ebp - 0xacc]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0xad0]
call fcn.00402a50
lea ecx, [ebp - 0xac8]
mov byte [ebp - 4], 1
call fcn.004176be
jmp 0x42145e
lea ecx, [ebp - 0x298]
push ecx
lea eax, [edi + 0x10]
push 0x599768
push eax
call fcn.0040ab0a
add esp, 0xc
mov ecx, dword [ebp - 0xad4]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
inc eax
call fcn.0053d7cc
ret 4