Function at 0x4216bd
Capabilities:
Read .ini file

Disassembly:
push 0x38
mov eax, 0x5660a7
call fcn.0053d330
xor edi, edi
mov dword [ebp - 0x24], edi
call fcn.00437f60
push eax
lea ecx, [ebp - 0x10]
call fcn.0042a551
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], edi
call fcn.0043a04c
mov byte [ebp - 4], 2
call fcn.00437f60
push eax
lea ecx, [ebp - 0x14]
call fcn.0042a551
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00412470
push str.Epson_SoftwareCommonAppInfo1.plg
mov eax, esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.00401943
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040248a
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402728
push edi
mov edi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x44]
call fcn.0043a0f3
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x4217c5
lea ecx, [ebp - 0x44]
call fcn.00439c9e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.0043a336
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0040248a
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402728
lea ecx, [ebp - 0x44]
call fcn.0043a00e
test eax, eax
jne 0x4217ba
mov eax, dword [ebp - 0x44]
push 0x10
lea ecx, [ebp - 0x44]
call dword [eax + 0x38]
test eax, eax
jne 0x4217ba
push dword [ebp - 0x10]
push 0xffffffffffffffff
push str.ProjectID
push str.Launch
call esi
cmp dword [ebp + 0xc], eax
je 0x4217c2
cmp dword [ebp - 0x20], 0
jne 0x421756
jmp 0x4217c5
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x44]
call fcn.00439bb8
cmp dword [ebp - 0x18], 0
jne 0x421897
push str.Epson_SoftwareCommonAppInfo1.plh
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401943
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0040248a
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402728
mov edi, dword [ebp - 0x14]
push 0
push edi
lea ecx, [ebp - 0x44]
call fcn.0043a0f3
test eax, eax
je 0x421889
lea ecx, [ebp - 0x44]
call fcn.00439c9e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.0043a336
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0040248a
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402728
lea ecx, [ebp - 0x44]
call fcn.0043a00e
test eax, eax
jne 0x42187e
mov eax, dword [ebp - 0x44]
push 0x10
lea ecx, [ebp - 0x44]
call dword [eax + 0x38]
test eax, eax
jne 0x42187e
push dword [ebp - 0x10]
push 0xffffffffffffffff
push str.ProjectID
push str.Launch
call esi
cmp dword [ebp + 0xc], eax
je 0x421886
cmp dword [ebp - 0x20], 0
jne 0x42181a
jmp 0x421889
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x44]
call fcn.00439bb8
cmp dword [ebp - 0x18], 0
je 0x4218d1
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
push esi
call fcn.0040242c
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.00402728
lea ecx, [edi - 0x10]
call fcn.00402728
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.0043a07e
mov ecx, esi
jmp 0x421905
mov ecx, dword [ebp + 8]
push 0x5990a0
call fcn.00402358
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp - 0x24], ebx
call fcn.00402728
lea ecx, [edi - 0x10]
call fcn.00402728
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.0043a07e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402728
mov eax, dword [ebp + 8]
call fcn.0053d408
ret