Function at 0x42eebb
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0x87c
mov eax, 0x567a7f
call fcn.0053d399
push dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push str.FileFormat
mov ebx, str.Save
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0xa4], eax
push 0
push str.StartNum
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0xb8], eax
push 0x104
lea eax, [ebp - 0x268]
push eax
push 0x599d5c
push str.Prefix
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x268]
lea ecx, [edi + 0xa8]
push eax
call fcn.00402332
push dword [edi + 0x18]
push 0
push str.TargetFolderIndex
push ebx
call esi
mov dword [edi + 0xac], eax
test eax, eax
jne 0x42ef6d
push eax
push 5
lea eax, [ebp - 0x880]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x880]
lea ecx, [edi + 0xb0]
push eax
call fcn.00402332
jmp 0x42f0c9
cmp eax, 1
jne 0x42efa9
lea ebx, [ebp - 0x884]
call fcn.00435d1b
and dword [ebp - 4], 0
lea ecx, [edi + 0xb0]
push eax
call fcn.0040248a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x884]
add ecx, 0xfffffff0
call fcn.00402728
mov ebx, str.Save
jmp 0x42f0c9
cmp eax, 2
jne 0x42f0c9
push dword [edi + 0x18]
lea eax, [ebp - 0x268]
push 0x104
push eax
push 0x5990a0
push str.TargetFolder
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x268]
lea ecx, [edi + 0xb0]
push eax
call fcn.00402332
push dword [edi + 0x18]
lea eax, [ebp - 0x268]
push 0x104
push eax
push 0x5990a0
push str.UserDefFolder
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x268]
lea ecx, [edi + 0xb4]
push eax
call fcn.00402332
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x884]
call fcn.00402358
push 0
push str._Temp
lea ecx, [ebp - 0x884]
mov dword [ebp - 4], 1
call fcn.0040ef12
cmp eax, 0xffffffff
je 0x42f0b7
lea esi, [ebp - 0x888]
call fcn.004378fc
push eax
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 2
call fcn.0040248a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x888]
add ecx, 0xfffffff0
call fcn.00402728
push dword [ebp - 0x884]
call fcn.00437687
pop ecx
test eax, eax
jne 0x42f088
call fcn.00437643
lea eax, [ebp - 0x884]
push eax
lea ecx, [edi + 0xb0]
call fcn.0040248a
lea eax, [ebp - 0x884]
push eax
lea ecx, [edi + 0xb4]
call fcn.0040248a
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, str.Save
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x884]
add ecx, 0xfffffff0
call fcn.00402728
mov ecx, dword [edi + 0xb0]
xor eax, eax
cmp dword [ecx - 0xc], eax
jne 0x42f100
push eax
push 5
lea ecx, [ebp - 0x678]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x678]
push eax
lea ecx, [edi + 0xb0]
call fcn.00402332
and dword [edi + 0xac], 0
push dword [edi + 0x18]
push 0x4b
push str.JpgQuality
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0xbc], eax
push 0
push str.TiffByteOrder
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0xc0], eax
push 0
push str.TiffCompress
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0xc4], eax
push 0
push str.ProjectID
push ebx
call esi
push dword [edi + 0x18]
mov ebx, str.General
push 0
push str.DocType
push ebx
mov dword [edi + 0xc8], eax
call esi
mov dword [edi + 0x64], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x470], ax
lea eax, [ebp - 0x46e]
push eax
call fcn.00538a20
add esp, 0xc
push dword [edi + 0x18]
lea eax, [ebp - 0x470]
push 0x104
push eax
push 0x5990a0
push str.StrDocType
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x470]
push eax
lea ecx, [edi + 0x68]
call fcn.00402332
push dword [edi + 0x18]
push 0
push str.ShowUI
push ebx
call esi
mov dword [edi + 0x5c], eax
test eax, eax
je 0x42f1cc
mov dword [edi + 0x94], 0xa
push dword [edi + 0x18]
push 0
push str.ImageType
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0x80], eax
push 0
push str.DocSize
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0x74], eax
push 0x14
lea eax, [ebp - 0x60]
push eax
push str.8.500000
push str.Width
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [edi + 0x18]
lea eax, [ebp - 0x38]
push 0x14
push eax
push str.11.000000
push str.Height
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x60]
call fcn.00435eb6
fstp dword [edi + 0x78]
lea ecx, [ebp - 0x38]
call fcn.00435eb6
fstp dword [edi + 0x7c]
push dword [edi + 0x18]
push 0
push str.Resolution
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0x70], eax
push 1
push str.QualityIndex
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0x6c], eax
push 0
push str.Orientation
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0x98], eax
push 0
push str.DocSource
push ebx
call esi
push dword [edi + 0x18]
mov ebx, str.Advanced
push 0
push 0x599f50
push ebx
mov dword [edi + 0x9c], eax
call esi
push dword [edi + 0x18]
mov dword [edi + 0x88], eax
push 0
push str.UnsharpMask
push ebx
call esi
push dword [edi + 0x18]
mov dword [edi + 0x8c], eax
push 0
push str.Descreen
push ebx
call esi
mov dword [edi + 0x90], eax
xor eax, eax
inc eax
call fcn.0053d41c
ret