Function at 0x413087
Capabilities:
Read .ini file
Set registry value

Disassembly:
push 0x438
mov eax, 0x55597b
call fcn.0052faf2
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x424]
mov dword [ebp - 4], ebx
call fcn.00409c58
push str.DisplayLCDInfo.ini
push eax
lea eax, [ebp - 0x438]
push eax
mov byte [ebp - 4], 1
call fcn.004016d7
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x438]
push ebx
push str.SettingOrComment
push str.DisplayInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.SoftwareEPSONEPSON_Scan_
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x42c], eax
call fcn.00401daf
mov byte [ebp - 4], 4
call fcn.0042b589
push eax
lea ecx, [ebp - 0x434]
call fcn.0040217f
push dword [ebp + 8]
lea eax, [ebp - 0x434]
push str.Job_Info_d
push eax
mov byte [ebp - 4], 5
call fcn.004034f1
add esp, 0xc
call fcn.0042b589
push eax
lea ecx, [ebp - 0x424]
call fcn.0040217f
mov byte [ebp - 4], 6
push dword [ebp - 0x434]
lea eax, [ebp - 0x424]
push dword [ebp + 0xc]
push dword [ebp - 0x43c]
push 0x58a6f4
push eax
call fcn.004034f1
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x430], ebx
call fcn.0052bfd0
xor eax, eax
push esi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.0052bfd0
add esp, 0x2c
cmp edi, ebx
je 0x413224
cmp dword [edi + 0x28], ebx
jne 0x4131b2
mov dword [ebp - 0x430], ebx
jmp 0x413224
lea esi, [ebp - 0x440]
mov eax, edi
mov dword [ebp - 0x430], 1
call fcn.00416679
push dword [eax]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, 0x587d38
lea eax, [ebp - 0x218]
push ebx
push eax
call esi
mov ecx, dword [ebp - 0x440]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004021a7
push dword [ebp - 0x42c]
mov eax, dword [edi]
lea ecx, [ebp - 0x42c]
push ecx
mov ecx, edi
call dword [eax + 0x14]
push dword [eax]
lea eax, [ebp - 0x420]
push ebx
push eax
call esi
mov ecx, dword [ebp - 0x42c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004021a7
xor ebx, ebx
mov edi, dword [ebp - 0x424]
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
push 0xf003f
push ebx
push 0x587cac
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4132c6
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x430]
push eax
push 4
push ebx
push str.ActFlag
push dword [ebp - 0x428]
call esi
lea eax, [ebp - 0x218]
push eax
call fcn.0052ba99
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push ebx
push str.Name
push dword [ebp - 0x428]
call esi
lea eax, [ebp - 0x420]
push eax
call fcn.0052ba99
pop ecx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
push ebx
push str.Description
push dword [ebp - 0x428]
call esi
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [edi - 0x10]
call fcn.004021a7
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004021a7
call fcn.0052fb75
ret 8