Function at 0x40bb3a
Capabilities:
Read .ini file

Disassembly:
push 0x680
mov eax, 0x55644a
call fcn.0052faf2
mov edi, ecx
lea ecx, [ebp - 0x670]
mov dword [ebp - 0x648], edi
call fcn.0042d64f
and dword [ebp - 4], 0
call fcn.0042b589
push eax
lea ecx, [ebp - 0x650]
call fcn.0040217f
lea esi, [ebp - 0x64c]
mov byte [ebp - 4], 1
call fcn.00409aa7
push str.Epson_SoftwareEvent_ManagerResourcesApplications.adi
mov eax, esi
push eax
lea eax, [ebp - 0x644]
push eax
mov byte [ebp - 4], 2
call fcn.004016d7
add esp, 0xc
push eax
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 3
call fcn.00401ee1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x644]
add ecx, 0xfffffff0
call fcn.004021a7
mov esi, dword [ebp - 0x650]
push 0
push esi
lea ecx, [ebp - 0x670]
call fcn.0042d6f6
test eax, eax
jne 0x40bc0c
lea ecx, [ebp - 0x670]
call fcn.0042d1bb
mov ecx, dword [ebp - 0x64c]
add ecx, 0xfffffff0
call fcn.004021a7
lea ecx, [esi - 0x10]
call fcn.004021a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x670]
call fcn.0042d681
xor eax, eax
jmp 0x40be25
call fcn.0042b589
push eax
lea ecx, [ebp - 0x638]
call fcn.0040217f
mov byte [ebp - 4], 4
call fcn.0042b589
push eax
lea ecx, [ebp - 0x630]
call fcn.0040217f
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 5
call fcn.0042d2a1
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x670]
call fcn.0042d939
push eax
lea ecx, [ebp - 0x638]
mov byte [ebp - 4], 6
call fcn.00401ee1
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x640]
add ecx, 0xfffffff0
call fcn.004021a7
push 4
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x638]
call fcn.00406fff
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 7
call fcn.0040c88d
push str..adi
lea ecx, [ebp - 0x62c]
call fcn.00408932
test eax, eax
je 0x40bce0
mov ecx, dword [ebp - 0x62c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x638]
add ecx, 0xfffffff0
jmp 0x40bde5
mov ebx, dword [ebp - 0x638]
push 0x2e
push ebx
call fcn.0052c71c
pop ecx
pop ecx
test eax, eax
jne 0x40bcf9
or eax, 0xffffffff
jmp 0x40bcfd
sub eax, ebx
sar eax, 1
push eax
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x638]
call fcn.00403286
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 8
call fcn.0042d64f
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x644]
push 0
push esi
lea ecx, [ebp - 0x68c]
call fcn.0042d6f6
test eax, eax
je 0x40bdab
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x670]
call fcn.0042d863
push eax
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 0xa
call fcn.00401ee1
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x634]
add ecx, 0xfffffff0
call fcn.004021a7
push ebx
push 0xffffffffffffffff
push 0x5893e4
push str.Launch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, dword [edi + 0x38]
je 0x40be2b
lea ecx, [ebp - 0x670]
call fcn.0042d611
test eax, eax
jne 0x40bdab
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.0042d681
lea ecx, [esi - 0x10]
call fcn.004021a7
mov ecx, dword [ebp - 0x62c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 2
lea ecx, [ebx - 0x10]
call fcn.004021a7
cmp dword [ebp - 0x63c], 0
jne 0x40bc0c
mov ecx, dword [ebp - 0x64c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x650]
add ecx, 0xfffffff0
call fcn.004021a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x670]
call fcn.0042d681
xor eax, eax
inc eax
call fcn.0052fb75
ret
call fcn.0042b589
push eax
lea ecx, [ebp - 0x634]
call fcn.0040217f
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 0x587d38
push eax
call fcn.004034f1
mov edx, dword [ebp - 0x634]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
add esp, 0xc
test eax, eax
js 0x40bff7
cmp eax, ecx
jg 0x40bff7
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 0x587cac
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.00401d89
push ebx
push edi
lea eax, [ebp - 0x628]
push eax
push 0x587cac
push 0x58942c
push str.Launch_Win
call esi
call fcn.0042b589
push eax
lea ecx, [ebp - 0x640]
call fcn.0040217f
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x640]
push 0x587d38
push eax
mov byte [ebp - 4], 0xc
call fcn.004034f1
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.00401e83
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.00429900
pop ecx
pop ecx
test eax, eax
jne 0x40bf98
push ebx
push edi
lea eax, [ebp - 0x420]
push eax
push 0x587cac
push str.AppPath
push str.Launch_Win
call esi
mov ecx, dword [ebp - 0x63c]
lea eax, [ebp - 0x420]
push eax
call fcn.00401d89
mov ecx, dword [ebp - 0x654]
call fcn.004021a7
mov ecx, dword [ebp - 0x634]
add ecx, 0xfffffff0
call fcn.004021a7
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 8
call fcn.0042d681
mov ecx, dword [ebp - 0x644]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x62c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
call fcn.004021a7
lea ecx, [ebx - 0x10]
call fcn.004021a7
jmp 0x40bdf7
push 0x80070057
call fcn.00402165
int3