Function at 0x4142e0
Capabilities:
Read .ini file

Disassembly:
push 0x680
mov eax, 0x566a3e
call fcn.0053cea9
mov edi, ecx
lea ecx, [ebp - 0x670]
mov dword [ebp - 0x648], edi
call fcn.00439b5e
and dword [ebp - 4], 0
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x650]
call fcn.00402723
lea esi, [ebp - 0x64c]
mov byte [ebp - 4], 1
call fcn.00411fd1
push str.Epson_SoftwareEvent_ManagerResourcesApplications.adi
mov eax, esi
push eax
lea eax, [ebp - 0x644]
push eax
mov byte [ebp - 4], 2
call fcn.0040193e
add esp, 0xc
push eax
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 3
call fcn.0040248f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x644]
add ecx, 0xfffffff0
call fcn.0040274b
mov esi, dword [ebp - 0x650]
push 0
push esi
lea ecx, [ebp - 0x670]
call fcn.00439c05
test eax, eax
jne 0x4143b2
lea ecx, [ebp - 0x670]
call fcn.004396ca
mov ecx, dword [ebp - 0x64c]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [esi - 0x10]
call fcn.0040274b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x670]
call fcn.00439b90
xor eax, eax
jmp 0x4145cb
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x638]
call fcn.00402723
mov byte [ebp - 4], 4
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x630]
call fcn.00402723
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 5
call fcn.004397b0
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x670]
call fcn.00439e48
push eax
lea ecx, [ebp - 0x638]
mov byte [ebp - 4], 6
call fcn.0040248f
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x640]
add ecx, 0xfffffff0
call fcn.0040274b
push 4
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x638]
call fcn.0040ea6c
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 7
call fcn.0041526a
push str..adi
lea ecx, [ebp - 0x62c]
call fcn.004107c5
test eax, eax
je 0x414486
mov ecx, dword [ebp - 0x62c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x638]
add ecx, 0xfffffff0
jmp 0x41458b
mov ebx, dword [ebp - 0x638]
push 0x2e
push ebx
call fcn.0053b4f5
pop ecx
pop ecx
test eax, eax
jne 0x41449f
or eax, 0xffffffff
jmp 0x4144a3
sub eax, ebx
sar eax, 1
push eax
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x638]
call fcn.00409e7e
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 8
call fcn.00439b5e
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x644]
push 0
push esi
lea ecx, [ebp - 0x68c]
call fcn.00439c05
test eax, eax
je 0x414551
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x670]
call fcn.00439d72
push eax
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 0xa
call fcn.0040248f
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x634]
add ecx, 0xfffffff0
call fcn.0040274b
push ebx
push 0xffffffffffffffff
push 0x59b154
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, dword [edi + 0x38]
je 0x4145d1
lea ecx, [ebp - 0x670]
call fcn.00439b20
test eax, eax
jne 0x414551
mov eax, dword [ebp - 0x670]
push 0x10
lea ecx, [ebp - 0x670]
call dword [eax + 0x38]
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 8
call fcn.00439b90
lea ecx, [esi - 0x10]
call fcn.0040274b
mov ecx, dword [ebp - 0x62c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [ebp - 4], 2
lea ecx, [ebx - 0x10]
call fcn.0040274b
cmp dword [ebp - 0x63c], 0
jne 0x4143b2
mov ecx, dword [ebp - 0x64c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x650]
add ecx, 0xfffffff0
call fcn.0040274b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x670]
call fcn.00439b90
xor eax, eax
inc eax
call fcn.0053cf2c
ret
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x634]
call fcn.00402723
push ebx
mov edi, 0x104
push edi
lea eax, [ebp - 0x218]
push eax
push str.0x0000
push str.OptionType
mov byte [ebp - 4], 0xb
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.Launch
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x634]
push 0x599470
push eax
call fcn.0040a0e9
mov edx, dword [ebp - 0x634]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
add esp, 0xc
test eax, eax
js 0x41479d
cmp eax, ecx
jg 0x41479d
movzx eax, word [edx + eax*2]
mov ecx, dword [ebp - 0x648]
push ebx
sub eax, 0x30
push edi
mov dword [ecx + 0x48], eax
lea eax, [ebp - 0x218]
push eax
push 0x598e70
push str.Option
push str.Launch_Win
call esi
mov ecx, dword [ebp - 0x648]
lea eax, [ebp - 0x218]
add ecx, 0x4c
push eax
call fcn.00402337
push ebx
push edi
lea eax, [ebp - 0x628]
push eax
push 0x598e70
push 0x59b19c
push str.Launch_Win
call esi
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x640]
call fcn.00402723
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x640]
push 0x599470
push eax
mov byte [ebp - 4], 0xc
call fcn.0040a0e9
mov eax, dword [ebp - 0x640]
pop ecx
pop ecx
add eax, 0xfffffff0
mov dword [ebp - 0x654], esp
mov dword [ebp - 0x63c], esp
push eax
mov dword [ebp - 0x654], eax
call fcn.00402431
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 0x63c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x648]
add eax, 0x40
push eax
mov dword [ebp - 0x63c], eax
call fcn.00435bb2
pop ecx
pop ecx
test eax, eax
jne 0x41473e
push ebx
push edi
lea eax, [ebp - 0x420]
push eax
push 0x598e70
push str.AppPath
push str.Launch_Win
call esi
mov ecx, dword [ebp - 0x63c]
lea eax, [ebp - 0x420]
push eax
call fcn.00402337
mov ecx, dword [ebp - 0x654]
call fcn.0040274b
mov ecx, dword [ebp - 0x634]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 8
call fcn.00439b90
mov ecx, dword [ebp - 0x644]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x62c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [ebx - 0x10]
call fcn.0040274b
jmp 0x41459d
push 0x80070057
call fcn.00402709
int3