Function at 0x42c438
Capabilities:
Read .ini file

Disassembly:
push 0x20
mov eax, 0x5639c0
call fcn.0053ce40
and dword [ebp - 4], 0
mov eax, dword [esi + 0x20]
cmp dword [eax - 0xc], 0
je 0x42c696
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0x59dc9c
push eax
call edi
push dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x20]
push 1
mov ebx, str.CacheVersion
push ebx
push eax
call edi
cmp dword [ebp - 0x2c], 1
jne 0x42c48b
cmp eax, 3
je 0x42c696
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402723
mov byte [ebp - 4], 1
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x28]
call fcn.00402723
mov byte [ebp - 4], 2
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x24]
call fcn.00402723
mov byte [ebp - 4], 3
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x20]
call fcn.00402723
mov byte [ebp - 4], 4
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402723
mov byte [ebp - 4], 5
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x18]
call fcn.00402723
mov byte [ebp - 4], 6
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x14]
call fcn.00402723
mov byte [ebp - 4], 7
call fcn.00437a9e
push eax
lea ecx, [ebp - 0x10]
call fcn.00402723
mov byte [ebp - 4], 8
push dword [esi + 8]
mov edi, 0x599af4
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0040a0e9
push dword [esi + 0xc]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0040a0e9
push dword [esi + 0x10]
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0040a0e9
push dword [esi + 0x14]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0040a0e9
push dword [esi + 0x18]
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0040a0e9
push 1
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0040a0e9
add esp, 0x48
push dword [esi + 0x1c]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0040a0e9
push 3
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0040a0e9
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x18
push dword [ebp + 8]
push dword [ebp - 0x2c]
push 0x598dbc
push dword [esi + 0x20]
call edi
push dword [ebp + 8]
push dword [ebp - 0x28]
push str.ScannerType
push dword [esi + 0x20]
call edi
push dword [ebp + 8]
push dword [ebp - 0x24]
push str.ButtonNum
push dword [esi + 0x20]
call edi
push dword [ebp + 8]
push dword [ebp - 0x18]
push 0x59dc9c
push dword [esi + 0x20]
call edi
push dword [ebp + 8]
push dword [ebp - 0x20]
push str.ModelDependency
push dword [esi + 0x20]
call edi
push dword [ebp + 8]
push dword [ebp - 0x1c]
push str.EPSSetting
push dword [esi + 0x20]
call edi
push dword [ebp + 8]
push dword [esi + 0x24]
push str.ShortTranslation
push dword [esi + 0x20]
call edi
push dword [ebp + 8]
push dword [esi + 0x28]
push str.DeviceSettingAlias
push dword [esi + 0x20]
call edi
push dword [ebp + 8]
push dword [esi + 0x2c]
push str.DevInfAlias
push dword [esi + 0x20]
call edi
push dword [ebp + 8]
push dword [ebp - 0x14]
push str.ModifiedEvent
push dword [esi + 0x20]
call edi
push dword [ebp + 8]
push dword [ebp - 0x10]
push ebx
push dword [esi + 0x20]
call edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0040274b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040274b
call fcn.0053cf18
ret 4