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

Disassembly:
push 0xac8
mov eax, 0x46b9e8
call fcn.004517f7
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac0], eax
and dword [ebp - 4], 0
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0xad0]
call fcn.00402773
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 0x104
push edi
lea eax, [ebp - 0x298]
push eax
push 0x47741c
mov esi, str.string
push esi
push str.Launch
call ebx
cmp word [ebp - 0x298], 0
jne 0x414ccb
push edi
lea eax, [ebp - 0xab8]
push eax
push edi
lea eax, [ebp - 0x6a8]
push eax
push edi
lea eax, [ebp - 0x4a0]
push eax
push edi
lea eax, [ebp - 0x8b0]
push eax
push dword [ebp + 0xc]
call fcn.0044e556
and dword [ebp - 0xac8], 0
add esp, 0x24
mov dword [ebp - method.CLcMgrStub.virtual_0], vtable.CLcMgrStub.0
mov byte [ebp - 4], 2
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0xac4]
call fcn.00402773
lea eax, [ebp - 0x6a8]
push eax
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0xac4]
push 0x479cd4
push eax
mov byte [ebp - 4], 3
call fcn.0040314f
add esp, 0x14
push dword [ebp - 0xac4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414b19
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0xabc]
call fcn.00402773
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
lea eax, [ebp - 0x90]
push 0x40
push eax
push 0x47741c
push str.ProjectUid
push str.Launch
call ebx
cmp word [ebp - 0x90], 0
je 0x414b07
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0xabc]
push 0x479cd4
push eax
call fcn.0040314f
add esp, 0x14
push dword [ebp - 0xabc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414b07
lea eax, [ebp - 0xabc]
push eax
lea ecx, [ebp - 0xac4]
call fcn.0040270e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.0040285d
push ecx
mov ecx, esp
mov dword [ebp - 0xabc], esp
push esi
call fcn.004024c3
push ecx
lea eax, [ebp - 0xac4]
mov dword [ebp - 0xad4], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.0040283c
lea esi, [ebp - 0xacc]
mov byte [ebp - 4], 3
call fcn.0040beed
push str.Description
lea ebx, [ebp - 0xabc]
call fcn.0040bf42
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xac0]
push eax
add ecx, 0x10
call fcn.0040275e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.0040285d
push 0x4778b0
lea ebx, [ebp - 0xabc]
call fcn.0040bf42
mov byte [ebp - 4], 7
mov ebx, dword [ebp - 0xac0]
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
call fcn.0040275e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x414bd9
lea eax, [ebp - 0x6a8]
push eax
push 0x4774a8
push esi
call fcn.0040314f
add esp, 0xc
cmp dword [ebx + 0x24], 2
jl 0x414cac
push dword [ebp + 0xc]
lea eax, [ebp - 0x298]
push edi
push eax
push 0x47741c
push str.Icon
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x298], 0
je 0x414c2d
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0xac4]
add ebx, 0x14
push str._s_s
push ebx
call fcn.0040314f
add esp, 0x10
jmp 0x414cac
cmp dword [ebx + 0x20], 8
jne 0x414c5d
push str.Icon.bmp
lea eax, [ebp - 0xac4]
push eax
lea eax, [ebp - 0xac0]
push eax
call fcn.004017f8
add esp, 0xc
push eax
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 8
call fcn.0040275e
jmp 0x414c9e
lea esi, [ebp - 0xac0]
call fcn.0040830b
push str.Epson_SoftwareCommonAppInfo1Custom_ProjectIcon.bmp
mov eax, esi
push eax
lea eax, [ebp - 0xabc]
push eax
mov byte [ebp - 4], 9
call fcn.004017f8
add esp, 0xc
push eax
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040275e
mov ecx, dword [ebp - 0xabc]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0xac0]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0xac4]
add ecx, 0xfffffff0
call fcn.0040285d
lea ecx, [ebp - 0xacc]
mov byte [ebp - 4], 1
call fcn.0040bedc
jmp 0x414ce9
lea eax, [ebp - 0x298]
push eax
mov eax, dword [ebp - 0xac0]
add eax, 0x10
push 0x4774a8
push eax
call fcn.0040314f
add esp, 0xc
mov ecx, dword [ebp - 0xad0]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
xor eax, eax
inc eax
call fcn.0045187a
ret 8