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

Disassembly:
push 0xac8
mov eax, 0x555844
call fcn.0052faf2
and dword [ebp - 4], 0
call fcn.0042b589
push eax
lea ecx, [ebp - 0xad4]
call fcn.0040217f
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov esi, 0x104
push esi
lea eax, [ebp - 0x298]
push eax
push 0x587cac
mov ebx, str.string
push ebx
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x298], 0
jne 0x416b1a
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.0052ca3b
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.0042b589
push eax
lea ecx, [ebp - 0xac0]
call fcn.0040217f
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x6a8]
push eax
lea eax, [ebp - 0xac0]
push 0x58a6f4
push eax
mov byte [ebp - 4], 3
call fcn.004034f1
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0xac0]
call esi
test eax, eax
jne 0x416964
call fcn.0042b589
push eax
lea ecx, [ebp - 0xabc]
call fcn.0040217f
mov byte [ebp - 4], 4
push dword [ebp + 8]
lea eax, [ebp - 0x90]
push 0x40
push eax
push 0x587cac
push str.ProjectUid
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x90], 0
je 0x416952
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x6a8]
push eax
lea eax, [ebp - 0xabc]
push 0x58a6f4
push eax
call fcn.004034f1
add esp, 0x14
push dword [ebp - 0xabc]
call esi
test eax, eax
je 0x416952
lea eax, [ebp - 0xabc]
push eax
lea ecx, [ebp - 0xac0]
call fcn.00401ee1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.004021a7
push ecx
mov ecx, esp
mov dword [ebp - 0xacc], esp
push ebx
call fcn.00401daf
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.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
lea esi, [ebp - 0xac8]
mov byte [ebp - 4], 3
call fcn.0040da1c
push str.Description
lea ebx, [ebp - 0xabc]
call fcn.0040da71
lea ecx, [edi + 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.00401ee1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.004021a7
push 0x5881bc
lea ebx, [ebp - 0xabc]
call fcn.0040da71
lea esi, [edi + 0xc]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00401ee1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x416a27
lea eax, [ebp - 0x4a0]
push eax
push 0x587d38
push esi
call fcn.004034f1
add esp, 0xc
cmp dword [edi + 0x24], 2
jl 0x416afe
push dword [ebp + 8]
lea eax, [ebp - 0x298]
push 0x104
push eax
push 0x587cac
push str.Icon
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x298], 0
je 0x416a7f
lea ecx, [ebp - 0x298]
push ecx
push dword [ebp - 0xac0]
lea eax, [edi + 0x14]
push str._s_s
push eax
call fcn.004034f1
add esp, 0x10
jmp 0x416afe
cmp dword [edi + 0x20], 8
jne 0x416aaf
push str.Icon.bmp
lea eax, [ebp - 0xac0]
push eax
lea eax, [ebp - 0xabc]
push eax
call fcn.004016d7
add esp, 0xc
lea ecx, [edi + 0x14]
push eax
mov byte [ebp - 4], 8
call fcn.00401ee1
jmp 0x416af0
lea esi, [ebp - 0xabc]
call fcn.00409aa7
push str.Epson_SoftwareCommonAppInfo1Custom_ProjectIcon.bmp
mov eax, esi
push eax
lea eax, [ebp - 0xacc]
push eax
mov byte [ebp - 4], 9
call fcn.004016d7
add esp, 0xc
lea ecx, [edi + 0x14]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401ee1
mov ecx, dword [ebp - 0xacc]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0xad0]
call fcn.004021a7
lea ecx, [ebp - 0xac8]
mov byte [ebp - 4], 1
call fcn.0040da0b
jmp 0x416b32
lea ecx, [ebp - 0x298]
push ecx
lea eax, [edi + 0x10]
push 0x587d38
push eax
call fcn.004034f1
add esp, 0xc
mov ecx, dword [ebp - 0xad4]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004021a7
xor eax, eax
inc eax
call fcn.0052fb75
ret 4