Function at 0x423dde
Capabilities:
Read .ini file

Disassembly:
push 0x468
mov eax, 0x46b4c1
call fcn.004517f7
xor ebx, ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x468], ebx
mov dword [ebp - 4], 2
call fcn.0040279b
mov dword [ebp - 0x468], 1
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x45c]
call fcn.00402773
mov byte [ebp - 4], 3
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x464]
call fcn.00402773
lea edi, [ebp - 0x474]
mov byte [ebp - 4], 4
call fcn.00425dfe
lea ecx, [ebp - 0x454]
mov dword [ebp - method.CEpsonScanSetting.virtual_0], vtable.CEpsonScanSetting.0
call fcn.0040279b
lea eax, [ebp - 0x424]
push eax
mov byte [ebp - 4], 6
call fcn.00427d51
pop ecx
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x450]
call fcn.00402773
push str.ESCNDV
push 0x478068
lea eax, [ebp - 0x424]
push eax
mov esi, str._s_s_s
lea eax, [ebp - 0x450]
push esi
push eax
mov byte [ebp - 4], 7
call fcn.0040314f
add esp, 0x14
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x460]
call fcn.00402773
push dword [ebp + 8]
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x42c], esp
push 0x47987c
call fcn.004024c3
lea edi, [ebp - 0x440]
call fcn.00429b27
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 9
call fcn.0040270e
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x440]
add ecx, 0xfffffff0
call fcn.0040285d
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x440]
call fcn.00402773
mov byte [ebp - 4], 0xa
push dword [ebp + 0xc]
push dword [ebp - 0x460]
lea eax, [ebp - 0x440]
push dword [ebp - 0x450]
push esi
push eax
call fcn.0040314f
add esp, 0x14
push dword [ebp - 0x440]
lea ecx, [ebp - 0x454]
call fcn.004024ae
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.0044de40
lea eax, [ebp - 0x21c]
push eax
call fcn.00427d2a
add esp, 0x10
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x444]
call fcn.00402773
push str.Resources
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x444]
push 0x477fb8
push eax
mov byte [ebp - 4], 0xb
call fcn.0040314f
add esp, 0x10
mov dword [ebp - method.CLcMgrStub.virtual_0], vtable.CLcMgrStub.0
mov dword [ebp - 0x448], ebx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x424045
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x434]
call fcn.00402773
mov byte [ebp - 4], 0xd
push dword [ebp + 0x10]
lea eax, [ebp - 0x434]
push dword [ebp - 0x444]
push str._s_s
push eax
call fcn.0040314f
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x42c], esp
push str.string
call fcn.004024c3
push ecx
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x434]
mov dword [ebp - 0x438], esp
mov ecx, esp
push eax
call fcn.0040283c
lea esi, [ebp - 0x44c]
mov byte [ebp - 4], 0xd
call fcn.0040beed
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
call fcn.0040285d
jmp 0x424080
push ecx
mov ecx, esp
mov dword [ebp - 0x42c], esp
push str.string
call fcn.004024c3
push ecx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x444]
mov dword [ebp - 0x438], esp
mov ecx, esp
push eax
call fcn.0040283c
lea esi, [ebp - 0x44c]
mov byte [ebp - 4], 0xc
call fcn.0040beed
call fcn.0042a8d7
push eax
lea ecx, [ebp - 0x434]
call fcn.00402773
push 0x47b0a0
lea ebx, [ebp - 0x430]
lea esi, [ebp - 0x44c]
mov byte [ebp - 4], 0x10
call fcn.0040bf42
push eax
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0x11
call fcn.0040270e
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.0040285d
push dword [ebp - 0x454]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x12c
push str.Resolution
mov esi, str.ScanSettings
push esi
call edi
push eax
push dword [ebp - 0x434]
lea eax, [ebp - 0x45c]
push eax
call fcn.0040314f
push 0x47b09c
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.004017f8
add esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x428]
push eax
call fcn.0040275e
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.0040285d
push dword [ebp - 0x454]
push 0
push str.ImageType
push esi
call edi
sub eax, 0
je 0x424166
dec eax
je 0x424159
dec eax
je 0x424161
dec eax
je 0x42415d
push 2
jmp 0x424168
xor eax, eax
jmp 0x424169
xor eax, eax
inc eax
jmp 0x424169
push 3
pop eax
lea esi, [ebp - 0x42c]
call fcn.004260bb
mov byte [ebp - 4], 0x13
push dword [eax]
lea ebx, [ebp - 0x438]
lea esi, [ebp - 0x44c]
call fcn.0040bf42
push eax
mov byte [ebp - 4], 0x14
push dword [ebp - 0x428]
lea eax, [ebp - 0x43c]
push eax
call fcn.00406973
push 0x47b09c
push eax
lea eax, [ebp - 0x430]
push eax
mov byte [ebp - 4], 0x15
call fcn.004017f8
add esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x428]
push eax
call fcn.0040275e
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.0040285d
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.0040285d
push dword [ebp - 0x454]
push 0xffffffffffffffff
push 0x478788
push str.FileSaveSettings
call edi
dec eax
je 0x424244
dec eax
je 0x424240
dec eax
je 0x42423b
dec eax
je 0x424237
dec eax
je 0x424233
sub eax, 3
jne 0x424240
push 3
jmp 0x42423d
push 5
jmp 0x42423d
push 2
jmp 0x42423d
push 4
pop eax
jmp 0x424247
xor eax, eax
jmp 0x424247
xor eax, eax
inc eax
push eax
lea ebx, [ebp - 0x430]
lea esi, [ebp - 0x474]
call fcn.00425fd7
mov byte [ebp - 4], 0x17
push dword [eax]
lea ebx, [ebp - 0x43c]
lea esi, [ebp - 0x44c]
call fcn.0040bf42
push eax
mov byte [ebp - 4], 0x18
push dword [ebp - 0x428]
lea eax, [ebp - 0x438]
push eax
call fcn.00406973
push 0x47b09c
push eax
lea eax, [ebp - 0x42c]
push eax
mov byte [ebp - 4], 0x19
call fcn.004017f8
add esp, 0x18
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x428]
push eax
call fcn.0040275e
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.0040285d
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.0040285d
push dword [ebp - 0x454]
push 0
push str.DocumentSource
push str.ScanSettings
call edi
cmp eax, 8
ja case.0x424305.1068
jmp dword [eax*4 + 0x42445e]
xor eax, eax
inc eax
jmp 0x424330
push 2
pop eax
jmp 0x424330
push 3
jmp 0x424313
push 7
jmp 0x424313
push 8
jmp 0x424313
push 4
jmp 0x424313
push 6
jmp 0x424313
push 5
jmp 0x424313
xor eax, eax
push eax
lea ebx, [ebp - 0x43c]
lea esi, [ebp - 0x474]
call fcn.00426046
mov byte [ebp - 4], 0x1b
push dword [eax]
lea ebx, [ebp - 0x438]
lea esi, [ebp - 0x44c]
call fcn.0040bf42
push eax
mov byte [ebp - 4], 0x1c
push dword [ebp - 0x428]
lea eax, [ebp - 0x42c]
push eax
call fcn.00406973
add esp, 0xc
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x428]
push eax
call fcn.0040275e
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0040bedc
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x440]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x460]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x450]
add ecx, 0xfffffff0
call fcn.0040285d
lea ecx, [ebp - 0x458]
call fcn.00408734
lea ecx, [ebp - 0x470]
mov dword [ebp - method.ScanSettingManager.virtual_0], vtable.ScanSettingManager.0
call fcn.0042612f
mov ecx, dword [ebp - 0x464]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x45c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, dword [ebp - 0x428]
call fcn.0045187a
ret 0xc