Function at 0x421231
Capabilities:
Read .ini file

Disassembly:
push 0x38
mov eax, 0x565ad2
call fcn.0053cd20
xor edi, edi
mov dword [ebp - 0x24], edi
call fcn.00437969
push eax
lea ecx, [ebp - 0x10]
call fcn.00402738
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], edi
call fcn.00439a5b
mov byte [ebp - 4], 2
call fcn.00437969
push eax
lea ecx, [ebp - 0x14]
call fcn.00402738
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00412203
push str.Epson_SoftwareCommonAppInfo1.plg
mov eax, esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.0040195d
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004024a4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402760
push edi
mov edi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x44]
call fcn.00439b02
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x421339
lea ecx, [ebp - 0x44]
call fcn.004396ad
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.00439d45
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004024a4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402760
lea ecx, [ebp - 0x44]
call fcn.00439a1d
test eax, eax
jne 0x42132e
mov eax, dword [ebp - 0x44]
push 0x10
lea ecx, [ebp - 0x44]
call dword [eax + 0x38]
test eax, eax
jne 0x42132e
push dword [ebp - 0x10]
push 0xffffffffffffffff
push str.ProjectID
push str.Launch
call esi
cmp dword [ebp + 0xc], eax
je 0x421336
cmp dword [ebp - 0x20], 0
jne 0x4212ca
jmp 0x421339
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x44]
call fcn.004395c7
cmp dword [ebp - 0x18], 0
jne 0x42140b
push str.Epson_SoftwareCommonAppInfo1.plh
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040195d
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004024a4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402760
mov edi, dword [ebp - 0x14]
push 0
push edi
lea ecx, [ebp - 0x44]
call fcn.00439b02
test eax, eax
je 0x4213fd
lea ecx, [ebp - 0x44]
call fcn.004396ad
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.00439d45
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.004024a4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402760
lea ecx, [ebp - 0x44]
call fcn.00439a1d
test eax, eax
jne 0x4213f2
mov eax, dword [ebp - 0x44]
push 0x10
lea ecx, [ebp - 0x44]
call dword [eax + 0x38]
test eax, eax
jne 0x4213f2
push dword [ebp - 0x10]
push 0xffffffffffffffff
push str.ProjectID
push str.Launch
call esi
cmp dword [ebp + 0xc], eax
je 0x4213fa
cmp dword [ebp - 0x20], 0
jne 0x42138e
jmp 0x4213fd
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x44]
call fcn.004395c7
cmp dword [ebp - 0x18], 0
je 0x421445
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
push esi
call fcn.00402446
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.00402760
lea ecx, [edi - 0x10]
call fcn.00402760
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00439a8d
mov ecx, esi
jmp 0x421479
mov ecx, dword [ebp + 8]
push 0x599080
call fcn.00402372
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp - 0x24], ebx
call fcn.00402760
lea ecx, [edi - 0x10]
call fcn.00402760
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00439a8d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, dword [ebp + 8]
call fcn.0053cdf8
ret