Function at 0x10008640
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov eax, dword [0x100a7914]
xor eax, ebp
mov dword [ebp - 8], eax
call fcn.10015900
mov dword [ebp - 4], eax
call fcn.100204b0
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x150], eax
call fcn.100204a0
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x150], 0
jle 0x1000956f
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.EasyType
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x554], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x80
mov ecx, dword [ebp - 4]
add ecx, 0x644
push ecx
push str.Error
push str.CustomFileName
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 2
push str.ResolutionId
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x560], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 3
push str.ScanMode
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x558], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
call fcn.100204d0
test eax, eax
je 0x100087b2
mov eax, dword [ebp + 8]
push eax
push 6
push str.PaperSize
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x55c], eax
jmp 0x100087d1
mov edx, dword [ebp + 8]
push edx
push 0xe
push str.PaperSize
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x55c], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.ADFDuplex
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x564], eax
cmp dword [ebp + 0xc], 1
jne 0x1000884b
mov edx, dword [ebp - 0x1d4]
cmp dword [edx + 4], 0
jne 0x10008827
mov eax, dword [ebp - 4]
mov dword [eax + 0x564], 0
jmp 0x1000884b
mov ecx, dword [ebp - 0x1d4]
cmp dword [ecx], 0
jne 0x1000884b
mov edx, dword [ebp - 4]
cmp dword [edx + 0x564], 2
jne 0x1000884b
mov eax, dword [ebp - 4]
mov dword [eax + 0x564], 0
push 0x80
push 0
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.10029e70
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x64
push str.Scale
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x568], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.Rotate
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x56c], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.RotateBackSide
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x570], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.Rerevsal
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x578], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.UnitMode
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x574], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.Bright
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x57c], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.BWMode
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x584], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.Contrast
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x580], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.Sharp
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5f4], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.Descreen
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5f8], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push 0x100516cc
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5fc], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.Saturation
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x600], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.Lightness
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x604], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.CurveMode
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c8], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.CurveGamma
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c4], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.CurveIn1
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x59c], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x40
push str.CurveIn2
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5a0], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x80
push str.CurveIn3
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5a4], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0xc0
push str.CurveIn4
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5a8], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.CurveIn5
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5ac], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.CurveOut1
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x40
push str.CurveOut2
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b4], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x80
push str.CurveOut3
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b8], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0xc0
push str.CurveOut4
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5bc], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.CurveOut5
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c0], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.LevelInLow
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x590], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x64
push str.LevelGamma
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58c], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.LevelInHigh
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x588], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.LevelOutHigh
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x594], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.LevelOutLow
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x598], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.BalanceMode
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5cc], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.ShadowsBalanceRed
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5d0], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.ShadowsBalanceGreen
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5dc], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.ShadowsBalanceBlue
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5e8], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.MidtonesBalanceRed
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5d4], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.MidtonesBalanceGreen
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5e0], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.MidtonesBalanceBlue
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5ec], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.HighlightsBalanceRed
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5d8], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.HighlightsBalanceGreen
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5e4], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.HighlightsBalanceBlue
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5f0], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.Cross
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x608], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.SelectAreaIMGProcess
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60c], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x80
lea ecx, [ebp - 0x1d0]
push ecx
push 0x1005140c
push str.CustomStartInchX
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x1d0]
push edx
call fcn.1002a79b
add esp, 4
mov eax, dword [ebp - 4]
fstp dword [eax + 0x630]
push 0x80
push 0
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.10029e70
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x80
lea eax, [ebp - 0x1d0]
push eax
push 0x1005140c
push str.CustomStartInchY
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.1002a79b
add esp, 4
mov edx, dword [ebp - 4]
fstp dword [edx + 0x634]
call fcn.100204d0
test eax, eax
je 0x10009273
push 0x80
push 0
lea eax, [ebp - 0x1d0]
push eax
call fcn.10029e70
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x80
lea edx, [ebp - 0x1d0]
push edx
push str.8.267
push str.CustomInchWidth
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1d0]
push eax
call fcn.1002a79b
add esp, 4
mov ecx, dword [ebp - 4]
fstp dword [ecx + 0x628]
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x80
lea ecx, [ebp - 0x1d0]
push ecx
push str.11.693
push str.CustomInchHeight
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x1d0]
push edx
call fcn.1002a79b
add esp, 4
mov eax, dword [ebp - 4]
fstp dword [eax + 0x62c]
jmp 0x10009303
mov ecx, dword [ebp + 8]
push ecx
push 0x80
lea edx, [ebp - 0x1d0]
push edx
push str.8.500
push str.CustomInchWidth
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1d0]
push eax
call fcn.1002a79b
add esp, 4
mov ecx, dword [ebp - 4]
fstp dword [ecx + 0x628]
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x80
lea ecx, [ebp - 0x1d0]
push ecx
push str.11.00
push str.CustomInchHeight
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x1d0]
push edx
call fcn.1002a79b
add esp, 4
mov eax, dword [ebp - 4]
fstp dword [eax + 0x62c]
push 0x80
push 0
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.10029e70
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0
push str.PaperSizeRectleft
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x618], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.PaperSizeRectright
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x620], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.PaperSizeRecttop
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x61c], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.PaperSizeRectbottom
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x624], eax
cmp dword [ebp + 0xc], 0
jne 0x1000956f
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x80
lea ecx, [ebp - 0x1d0]
push ecx
push str.0.0.0.0
push str.IPAddress
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x1d0]
push edx
mov eax, dword [ebp - 4]
add eax, 0x54
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 8]
push ecx
push 0x80
lea edx, [ebp - 0x1d0]
push edx
push 0
push str.IPv6Address
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1d0]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x154
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.IOTypeSelect
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.PreScanWidth
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 0xc], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push 0x10051430
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x14c]
mov dword [ecx + 0x10], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.WindowSize
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x610], eax
push 0x80
push 0
lea edx, [ebp - 0x1d0]
push edx
call fcn.10029e70
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push str.SelectTABPage
push str.TISDS_TWAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x614], eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10029d6b
mov esp, ebp
pop ebp
ret