Function at 0x42ef7d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56571a
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x5c9030]
xor eax, esp
mov dword [esp + 0x884], eax
push ebx
push esi
mov eax, dword [0x5c9030]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
push 2
pop esi
cmp dword [edi + 0x24], esi
jl 0x42f557
push dword [edi + 8]
push 0xffffffffffffffff
push str.ActionID
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [edi + 0x3c], eax
cmp eax, 0x384
jne 0x42f1e0
push dword [edi + 8]
lea eax, [esp + 0x278]
push 0x104
push eax
push 0x598e70
push 0x59b19c
push str.Event_Launch_Win
call ebx
call fcn.00437a9e
push eax
lea ecx, [esp + 0x2c]
call fcn.00402723
and dword [esp + 0x8a0], 0
lea eax, [esp + 0x274]
push eax
mov esi, 0x599470
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.0040a0e9
mov eax, dword [esp + 0x34]
pop ecx
pop ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x28], eax
call fcn.00402431
pop ecx
mov ecx, dword [esp + 0x14]
add eax, 0x10
mov dword [ecx], eax
lea eax, [edi + 0x44]
push eax
call fcn.00435bb2
pop ecx
pop ecx
test eax, eax
jne 0x42f142
push dword [edi + 8]
lea eax, [esp + 0x70]
push 0x104
push eax
push 0x598e70
push str.AppPath
push str.Event_Launch_Win
call ebx
cmp word [esp + 0x6c], 0
je 0x42f142
lea eax, [esp + 0x6c]
push eax
lea ecx, [edi + 0x44]
call fcn.00402337
lea eax, [esp + 0x6c]
lea ecx, [edi + 0x48]
push eax
call fcn.00402337
lea ecx, [esp + 0x34]
call fcn.00439b5e
mov byte [esp + 0x8a0], 1
mov eax, dword [edi + 0x48]
push 0
push eax
lea ecx, [esp + 0x3c]
call fcn.00439c05
lea ecx, [esp + 0x34]
test eax, eax
jne 0x42f125
call fcn.004396ca
push 0x598e70
lea ecx, [edi + 0x48]
call fcn.00402337
cmp dword [edi + 0x3c], 0x384
jne 0x42f104
or dword [edi + 0x3c], 0xffffffff
lea ecx, [esp + 0x34]
mov byte [esp + 0x8a0], 0
call fcn.00439b90
mov ecx, dword [esp + 0x20]
call fcn.0040274b
xor eax, eax
jmp 0x42f55a
call fcn.004396ca
lea ecx, [esp + 0x34]
mov dword [edi + 0x58], 1
mov byte [esp + 0x8a0], 0
call fcn.00439b90
push dword [edi + 8]
lea eax, [esp + 0x70]
push 0x104
push eax
push 0x598e70
push str.Option
push str.Event_Launch_Win
call ebx
lea ecx, [esp + 0x6c]
push ecx
lea eax, [edi + 0x50]
push esi
push eax
call fcn.0040a0e9
mov eax, dword [edi + 0x50]
sub eax, 0x10
add esp, 0xc
push eax
call fcn.00402431
lea esi, [eax + 0x10]
cmp dword [esi - 0xc], 0
pop ecx
mov dword [esp + 0x18], esi
je 0x42f1c2
push str._File
lea ecx, [esp + 0x1c]
call fcn.004107c5
test eax, eax
jne 0x42f1a7
mov dword [edi + 0x4c], 1
jmp 0x42f1c2
push str._Folder
lea ecx, [esp + 0x1c]
call fcn.004107c5
neg eax
sbb eax, eax
and eax, 2
add eax, 2
mov dword [edi + 0x4c], eax
lea ecx, [esi - 0x10]
call fcn.0040274b
or dword [esp + 0x8a0], 0xffffffff
mov ecx, dword [esp + 0x20]
call fcn.0040274b
jmp 0x42f4e1
cmp eax, 0xffffffff
je 0x42f4e1
lea ecx, [esp + 0x34]
call fcn.00439b5e
mov dword [esp + 0x8a0], esi
call fcn.00437a9e
push eax
lea ecx, [esp + 0x2c]
call fcn.00402723
mov byte [esp + 0x8a0], 3
call fcn.00437a9e
push eax
lea ecx, [esp + 0x24]
call fcn.00402723
lea esi, [esp + 0x10]
mov byte [esp + 0x8a0], 4
call fcn.00411fd1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x8a4], 5
call fcn.0040248f
mov byte [esp + 0x8a0], 4
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
push str.Epson_SoftwareEvent_ManagerResourcesApplications.adi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040193e
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8a4], 6
call fcn.0040248f
mov byte [esp + 0x8a0], 4
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
mov esi, dword [esp + 0x28]
push 0
push esi
lea ecx, [esp + 0x3c]
call fcn.00439c05
test eax, eax
jne 0x42f2da
lea ecx, [esp + 0x34]
call fcn.004396ca
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [esi - 0x10]
call fcn.0040274b
or dword [esp + 0x8a0], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00439b90
jmp 0x42f11e
call fcn.00437a9e
push eax
lea ecx, [esp + 0x18]
call fcn.00402723
mov byte [esp + 0x8a0], 7
call fcn.00437a9e
push eax
lea ecx, [esp + 0x28]
call fcn.00402723
lea ecx, [esp + 0x34]
mov byte [esp + 0x8a0], 8
call fcn.004397b0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
call fcn.00439e48
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8a4], 9
call fcn.0040248f
mov byte [esp + 0x8a0], 8
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
push 4
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040ea6c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8a0], 0xa
call fcn.0041526a
push str..adi
lea ecx, [esp + 0x20]
call fcn.004107c5
test eax, eax
je 0x42f3a8
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [esp + 0x8a0], 4
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
jmp 0x42f4a8
mov esi, dword [esp + 0x14]
push 0x2e
push esi
call fcn.0053b4f5
pop ecx
pop ecx
test eax, eax
jne 0x42f3bf
or eax, 0xffffffff
jmp 0x42f3c3
sub eax, esi
sar eax, 1
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409e7e
lea ecx, [esp + 0x50]
mov byte [esp + 0x8a0], 0xb
call fcn.00439b5e
push 0
mov byte [esp + 0x8a4], 0xc
push dword [esp + 0x34]
lea ecx, [esp + 0x58]
call fcn.00439c05
test eax, eax
je 0x42f468
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.00439d72
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x8a4], 0xd
call fcn.0040248f
mov byte [esp + 0x8a0], 0xc
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040274b
push esi
push 0xffffffffffffffff
push 0x59b154
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, dword [edi + 0x3c]
je 0x42f57d
lea ecx, [esp + 0x34]
call fcn.00439b20
test eax, eax
jne 0x42f468
mov eax, dword [esp + 0x34]
push 0x10
lea ecx, [esp + 0x38]
call dword [eax + 0x38]
lea ecx, [esp + 0x50]
mov byte [esp + 0x8a0], 0xb
call fcn.00439b90
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040274b
mov byte [esp + 0x8a0], 4
lea ecx, [esi - 0x10]
call fcn.0040274b
cmp dword [esp + 0x2c], 0
jne 0x42f2da
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040274b
or dword [esp + 0x8a0], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00439b90
xor eax, eax
push 0x206
push eax
mov word [esp + 0x484], ax
lea eax, [esp + 0x486]
push eax
call fcn.00538530
add esp, 0xc
push dword [edi + 8]
lea eax, [esp + 0x480]
push 0x104
push eax
push 0x598e70
push str.ProjectAppName
push str.Event_Launch_Win
call ebx
lea eax, [esp + 0x47c]
push eax
lea ecx, [esp + 0x14]
call fcn.0040235d
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x54]
mov dword [esp + 0x8a4], 0x10
call fcn.0040248f
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
xor eax, eax
inc eax
mov ecx, dword [esp + 0x898]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x884]
xor ecx, esp
call fcn.0053792d
mov esp, ebp
pop ebp
ret
call fcn.00437a9e
push eax
lea ecx, [esp + 0x1c]
call fcn.00402723
push esi
push 0x104
lea eax, [esp + 0x74]
push eax
push str.0x0000
push str.OptionType
push str.Launch
mov byte [esp + 0x8b8], 0xe
call ebx
lea eax, [esp + 0x6c]
push eax
mov esi, 0x599470
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0040a0e9
mov edx, dword [esp + 0x24]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
add esp, 0xc
test eax, eax
js 0x42f71f
cmp eax, ecx
jg 0x42f71f
movzx eax, word [edx + eax*2]
push dword [esp + 0x14]
sub eax, 0x30
push 0x104
mov dword [edi + 0x4c], eax
lea eax, [esp + 0x74]
push eax
push 0x598e70
push str.Option
push str.Launch_Win
call ebx
lea eax, [esp + 0x6c]
lea ecx, [edi + 0x50]
push eax
call fcn.00402337
push dword [esp + 0x14]
lea eax, [esp + 0x278]
push 0x104
push eax
push 0x598e70
push 0x59b19c
push str.Launch_Win
call ebx
call fcn.00437a9e
push eax
lea ecx, [esp + 0x14]
call fcn.00402723
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x14]
push esi
push eax
mov byte [esp + 0x8ac], 0xf
call fcn.0040a0e9
mov esi, dword [esp + 0x1c]
pop ecx
pop ecx
mov dword [esp + 0x30], esp
add esi, 0xfffffff0
mov dword [esp + 0x30], esp
push esi
call fcn.00402431
pop ecx
mov ecx, dword [esp + 0x30]
add eax, 0x10
mov dword [ecx], eax
lea eax, [edi + 0x44]
push eax
call fcn.00435bb2
pop ecx
pop ecx
test eax, eax
jne 0x42f6c6
push dword [esp + 0x14]
lea eax, [esp + 0x688]
push 0x104
push eax
push 0x598e70
push str.AppPath
push str.Launch_Win
call ebx
lea eax, [esp + 0x684]
push eax
lea ecx, [edi + 0x44]
call fcn.00402337
mov ecx, esi
call fcn.0040274b
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [esp + 0x50]
mov byte [esp + 0x8a0], 0xb
call fcn.00439b90
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040274b
jmp 0x42f4b8
push 0x80070057
call fcn.00402709
int3