Function at 0x4212ec
Capabilities:
Read .ini file

Disassembly:
push 0x38
mov eax, 0x565c45
call fcn.0053ce40
xor edi, edi
mov dword [ebp - 0x24], edi
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x10]
call fcn.00402723
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], edi
call fcn.00439b5e
mov byte [ebp - 4], 2
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x14]
call fcn.00402723
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00411fd1
push str.Epson_SoftwareCommonAppInfo1.plg
mov eax, esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.0040193e
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040248f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040274b
push edi
mov edi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x44]
call fcn.00439c05
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x4213f4
lea ecx, [ebp - 0x44]
call fcn.004397b0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.00439e48
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0040248f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [ebp - 0x44]
call fcn.00439b20
test eax, eax
jne 0x4213e9
mov eax, dword [ebp - 0x44]
push 0x10
lea ecx, [ebp - 0x44]
call dword [eax + 0x38]
test eax, eax
jne 0x4213e9
push dword [ebp - 0x10]
push 0xffffffffffffffff
push str.ProjectID
push str.Launch
call esi
cmp dword [ebp + 0xc], eax
je 0x4213f1
cmp dword [ebp - 0x20], 0
jne 0x421385
jmp 0x4213f4
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x44]
call fcn.004396ca
cmp dword [ebp - 0x18], 0
jne 0x4214c6
push str.Epson_SoftwareCommonAppInfo1.plh
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040193e
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0040248f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040274b
mov edi, dword [ebp - 0x14]
push 0
push edi
lea ecx, [ebp - 0x44]
call fcn.00439c05
test eax, eax
je 0x4214b8
lea ecx, [ebp - 0x44]
call fcn.004397b0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.00439e48
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0040248f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040274b
lea ecx, [ebp - 0x44]
call fcn.00439b20
test eax, eax
jne 0x4214ad
mov eax, dword [ebp - 0x44]
push 0x10
lea ecx, [ebp - 0x44]
call dword [eax + 0x38]
test eax, eax
jne 0x4214ad
push dword [ebp - 0x10]
push 0xffffffffffffffff
push str.ProjectID
push str.Launch
call esi
cmp dword [ebp + 0xc], eax
je 0x4214b5
cmp dword [ebp - 0x20], 0
jne 0x421449
jmp 0x4214b8
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x44]
call fcn.004396ca
cmp dword [ebp - 0x18], 0
je 0x421500
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
push esi
call fcn.00402431
pop ecx
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp - 0x24], ebx
call fcn.0040274b
lea ecx, [edi - 0x10]
call fcn.0040274b
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00439b90
mov ecx, esi
jmp 0x421534
mov ecx, dword [ebp + 8]
push 0x598e70
call fcn.0040235d
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp - 0x24], ebx
call fcn.0040274b
lea ecx, [edi - 0x10]
call fcn.0040274b
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00439b90
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
mov eax, dword [ebp + 8]
call fcn.0053cf18
ret