Function at 0x415405
Capabilities:
Read .ini file

Disassembly:
push 0x34
mov eax, 0x46b901
call fcn.0045178e
xor edi, edi
mov dword [ebp - 0x24], edi
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x10]
call fcn.00402773
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], edi
call fcn.0042be99
mov byte [ebp - 4], 2
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x14]
call fcn.00402773
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0040830b
push str.Epson_SoftwareCommonAppInfo1.plg
mov eax, esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.004017f8
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040270e
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040285d
mov esi, dword [ebp - 0x14]
push edi
push esi
lea ecx, [ebp - 0x40]
call fcn.0042bf31
cmp eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
je 0x41550d
lea ecx, [ebp - 0x40]
call fcn.0042bb7b
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042c130
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0040270e
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040285d
lea ecx, [ebp - 0x40]
call fcn.0042be5a
test eax, eax
jne 0x415502
mov eax, dword [ebp - 0x40]
push 0x10
lea ecx, [ebp - 0x40]
call dword [eax + 0x38]
test eax, eax
jne 0x415502
push dword [ebp - 0x10]
push 0xffffffffffffffff
push str.ProjectID
push str.Launch
call edi
cmp dword [ebp + 0xc], eax
je 0x41550a
cmp dword [ebp - 0x20], 0
jne 0x41549e
jmp 0x41550d
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x40]
call fcn.0042ba95
cmp dword [ebp - 0x18], 0
jne 0x4155df
push str.Epson_SoftwareCommonAppInfo1.plh
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004017f8
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0040270e
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040285d
mov esi, dword [ebp - 0x14]
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.0042bf31
test eax, eax
je 0x4155d1
lea ecx, [ebp - 0x40]
call fcn.0042bb7b
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042c130
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0040270e
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040285d
lea ecx, [ebp - 0x40]
call fcn.0042be5a
test eax, eax
jne 0x4155c6
mov eax, dword [ebp - 0x40]
push 0x10
lea ecx, [ebp - 0x40]
call dword [eax + 0x38]
test eax, eax
jne 0x4155c6
push dword [ebp - 0x10]
push 0xffffffffffffffff
push str.ProjectID
push str.Launch
call edi
cmp dword [ebp + 0xc], eax
je 0x4155ce
cmp dword [ebp - 0x20], 0
jne 0x415562
jmp 0x4155d1
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x40]
call fcn.0042ba95
cmp dword [ebp - 0x18], 0
je 0x4155ed
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0040283c
jmp 0x4155fa
mov ecx, dword [ebp + 8]
push 0x47741c
call fcn.004024c3
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp - 0x24], ebx
call fcn.0040285d
lea ecx, [esi - 0x10]
call fcn.0040285d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.0042bec2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, dword [ebp + 8]
call fcn.00451866
ret