Function at 0x1400140c0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r8
mov ebp, edx
xor edx, edx
mov r8d, 0x130
mov rdi, r9
mov rbx, rcx
call fcn.1400f9ab0
lea rdx, str.UseAdvOptionsOrder
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rbx + 0x12c], eax
test rdi, rdi
je 0x14001413e
mov edx, dword [rsp + 0x290]
mov rcx, rdi
call fcn.140014b70
cmp dword [rbx + 0x12c], 0
je 0x14001413e
mov rcx, rdi
call fcn.140014ea0
test ebp, ebp
je 0x140014b49
lea rdx, str.AdvCrop
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvCropX
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 4], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvCropY
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvCropW
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xc], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvCropH
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x10], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvCropC
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x14], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvResize
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x18], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvResizeOpt
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x1c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea r9, [rsp + 0x30]
lea r8, [0x14018263c]
lea rdx, [0x140182640]
lea rcx, str.Batch
mov qword [rsp + 0x28], rsi
mov dword [rbx + 0x20], eax
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x30]
call fcn.1400eeeb0
lea r9, [rsp + 0x30]
lea r8, [0x14018263c]
xorps xmm1, xmm1
lea rdx, str.AdvResizeH
lea rcx, str.Batch
mov qword [rsp + 0x28], rsi
cvtsd2ss xmm1, xmm0
movss dword [rbx + 0x24], xmm1
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x30]
call fcn.1400eeeb0
lea r9, [rsp + 0x30]
lea r8, [0x14018263c]
xorps xmm1, xmm1
lea rdx, str.AdvResizeL
lea rcx, str.Batch
mov qword [rsp + 0x28], rsi
cvtsd2ss xmm1, xmm0
movss dword [rbx + 0x28], xmm1
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x30]
call fcn.1400eeeb0
xorps xmm1, xmm1
lea r9, [rsp + 0x30]
lea r8, [0x14018263c]
lea rdx, str.AdvResizeS
lea rcx, str.Batch
mov qword [rsp + 0x28], rsi
cvtsd2ss xmm1, xmm0
mov dword [rsp + 0x20], 0x104
movss dword [rbx + 0x2c], xmm1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x30]
call fcn.1400eeeb0
lea r9, [rsp + 0x30]
lea r8, [0x14018263c]
xorps xmm1, xmm1
lea rdx, str.AdvResizeMP
lea rcx, str.Batch
mov qword [rsp + 0x28], rsi
cvtsd2ss xmm1, xmm0
movss dword [rbx + 0x30], xmm1
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x30]
call fcn.1400eeeb0
lea rdx, str.AdvResample
lea rcx, str.Batch
xorps xmm1, xmm1
mov r9, rsi
mov r8d, 1
cvtsd2ss xmm1, xmm0
movss dword [rbx + 0x34], xmm1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvResizePerc
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x44], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea r9, [rsp + 0x30]
lea r8, [0x14018263c]
lea rdx, str.AdvResizePercW
lea rcx, str.Batch
mov qword [rsp + 0x28], rsi
mov dword [rbx + 0x38], eax
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x30]
call fcn.1400eeeb0
lea r9, [rsp + 0x30]
lea r8, [0x14018263c]
xorps xmm1, xmm1
lea rdx, str.AdvResizePercH
lea rcx, str.Batch
mov qword [rsp + 0x28], rsi
cvtsd2ss xmm1, xmm0
movss dword [rbx + 0x3c], xmm1
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x30]
call fcn.1400eeeb0
lea rdx, str.AdvDPI
lea rcx, str.Batch
xorps xmm1, xmm1
mov r9, rsi
xor r8d, r8d
cvtsd2ss xmm1, xmm0
movss dword [rbx + 0x40], xmm1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvResizeUnit
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xf8], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvResizeRatio
lea rcx, str.Batch
mov r9, rsi
mov r8d, 1
mov dword [rbx + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rbx + 0x48], eax
lea rdx, str.AdvNoEnlarge
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvNoShrink
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvResizeOnDpi
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvResizeMaxSize
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x54], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvResizeMinSize
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x58], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvCanvas
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x5c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvAddText
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x64], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvWatermark
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvReplaceColor
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x6c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvAddFrame
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x70], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvUseBPP
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x74], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvBPP
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x78], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvUseFSDither
lea rcx, str.Batch
mov r9, rsi
mov r8d, 1
mov dword [rbx + 0x7c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x80], eax
lea rdx, str.AdvDecrQuality
lea rcx, str.Batch
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvHFlip
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x84], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvAutoRGB
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x8c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvVFlip
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x88], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvRLeft
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x90], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvRRight
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x94], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvGray
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x98], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvInvert
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x9c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvSharpen
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xa0], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvGamma
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xa4], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvContrast
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xa8], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvBrightness
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xb0], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvSaturation
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xb4], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvColR
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xac], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rbx + 0xb8], eax
lea rdx, str.AdvColG
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvColB
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xbc], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvSharpenVal
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xc0], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea r8, [0x14018263c]
lea rdx, str.AdvGammaVal
lea rcx, str.Batch
mov r9, rsi
mov dword [rbx + 0xc4], eax
call fcn.1400ee4b0
lea rdx, str.AdvContrastVal
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
movss dword [rbx + 0xc8], xmm0
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvBrightnessVal
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xcc], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvSaturationVal
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xd0], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvColRVal
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xd4], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvColGVal
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xd8], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvColBVal
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xdc], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvDelOrg
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xe0], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvOverwrite
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xe4], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvSubdirs
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xe8], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xec], eax
lea rdx, str.AdvSaveOldDate
lea rcx, str.Batch
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvAllPages
lea rcx, str.Batch
mov r9, rsi
mov r8d, 1
mov dword [rbx + 0xf0], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvFineR
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0xf4], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea r8, [0x14018263c]
lea rdx, str.AdvFineRVal
lea rcx, str.Batch
mov r9, rsi
mov dword [rbx + 0xfc], eax
call fcn.1400ee4b0
lea rdx, str.AdvBlur
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
movss dword [rbx + 0x100], xmm0
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvBlurVal
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x104], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvMedian
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x108], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvMedianVal
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x10c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvRbg
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x110], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvBgr
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x114], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvBrg
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x118], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvGrb
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x11c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvGbr
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x120], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.AdvAutoCrop
lea rcx, str.Batch
mov r9, rsi
xor r8d, r8d
mov dword [rbx + 0x124], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rbx + 0x128], eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400f9a80
mov rbx, qword [rsp + 0x278]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret