Function at 0x4f0e30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536e78
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2af8
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x5776a0
call fcn.00471480
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
cmp eax, ebx
jne 0x4f0e80
mov dword [ebp - 0x58], 0x54ee24
push str.ScanImgCrop_InfoWnd
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x4f0e9b
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4f0ec9
cmp ecx, ebx
je 0x4f0ec9
cmp word [ecx], bx
je 0x4f0ec9
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4f0eb8
mov eax, 0x54ee24
push eax
push ebx
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4f0ed5
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 0x44], ebx
jle 0x4f0f03
cmp ecx, ebx
je 0x4f0f03
cmp word [ecx], bx
je 0x4f0f03
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4f0ef2
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
push str.ScanImgCrop_ScaleText
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x4f0f1e
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4f0f50
cmp ecx, ebx
je 0x4f0f50
cmp word [ecx], bx
je 0x4f0f50
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4f0f3b
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x10], eax
jmp 0x4f0f56
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4f0f62
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4f0f8c
cmp ecx, ebx
je 0x4f0f8c
cmp word [ecx], bx
je 0x4f0f8c
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4f0f7f
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4f0f98
mov ecx, 0x54ee24
mov dword [ebp - 0x20], ebx
cmp dword [esi + 0x44], ebx
jle 0x4f0fc2
cmp ecx, ebx
je 0x4f0fc2
cmp word [ecx], bx
je 0x4f0fc2
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4f0fb5
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4f0fce
mov ecx, 0x54ee24
mov dword [ebp - 0x24], ebx
cmp dword [esi + 0x44], ebx
jle 0x4f0ff8
cmp ecx, ebx
je 0x4f0ff8
cmp word [ecx], bx
je 0x4f0ff8
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4f0feb
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call edi
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4f1004
mov ecx, 0x54ee24
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x44], ebx
jle 0x4f102e
cmp ecx, ebx
je 0x4f102e
cmp word [ecx], bx
je 0x4f102e
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4f1021
mov eax, 0x54ee24
push eax
push ebx
push str.FontPoint
push ecx
call edi
mov dword [ebp - 0x28], eax
push 0x55d15c
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
jle 0x4f1085
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov ecx, edi
lea ebx, [ebp - 0x40]
call fcn.00507c00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
xor ebx, ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
cmp ecx, ebx
je 0x4f1085
lea edx, [edi + 1]
push edx
push 0x55d15c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x30], edi
push 0x753d
lea eax, [ebp - 0x4c]
mov ebx, 1
push eax
mov ecx, 0x5776a0
mov byte [ebp - 4], bl
call fcn.00471480
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
lea edi, [ebp - 0x34]
call fcn.00507dd0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4f10c5
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4f10d1
mov eax, 0x54ee24
push eax
lea eax, [esi + 0xc0]
call fcn.005080c0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
add edi, dword [ebp - 0x14]
push 0
mov dword [ebp - 0x1c], eax
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 0x20]
push 0
mov dword [esi + 0xb0], eax
mov eax, dword [ebp - 0x58]
push edx
mov dword [esi + 0xb4], ecx
push eax
lea ecx, [esi + 0x98]
mov dword [esi + 0xb8], ebx
mov ebx, dword [ebp + 8]
push ecx
mov dword [esi + 0xa8], edi
mov dword [esi + 0xbc], 0x26
call fcn.00473a60
mov edx, dword [ebp - 0x1c]
mov byte [esi + 0xcc], 0
mov byte [esi + 0xd4], 0
push str.ScanImgCropOk_BtnText
lea eax, [esi + 0x4c]
mov dword [esi + 0x3424], edi
mov dword [esi + 0x3428], edx
call fcn.005080c0
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x4f116b
mov eax, 0x54ee24
xor edi, edi
mov dword [ebp - 0x28], edi
cmp dword [esi + 0x44], edi
jle 0x4f119f
cmp eax, edi
je 0x4f119f
cmp word [eax], di
je 0x4f119f
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x4f118a
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push edi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x28], eax
jmp 0x4f11a5
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4f11b1
mov ecx, 0x54ee24
mov dword [ebp - 0x24], edi
cmp dword [esi + 0x44], edi
jle 0x4f11db
cmp ecx, edi
je 0x4f11db
cmp word [ecx], di
je 0x4f11db
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4f11ce
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4f11e7
mov ecx, 0x54ee24
mov dword [ebp - 0x20], edi
cmp dword [esi + 0x44], edi
jle 0x4f1211
cmp ecx, edi
je 0x4f1211
cmp word [ecx], di
je 0x4f1211
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4f1204
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4f121d
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4f1244
test ecx, ecx
je 0x4f1244
cmp word [ecx], di
je 0x4f1244
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4f1237
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4f1250
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4f127d
test ecx, ecx
je 0x4f127d
cmp word [ecx], bx
je 0x4f127d
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4f126c
mov eax, 0x54ee24
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x8100
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4f12b0
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4f12bc
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x18c]
mov byte [esi + 0x2b0], 1
call fcn.005080c0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x174], ecx
mov ecx, dword [ebp - 0x58]
mov dword [esi + 0x178], edx
push ecx
lea edx, [esi + 0x164]
push edx
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], edi
mov dword [esi + 0x188], 0x15
mov dword [esi + 0x184], 1
call fcn.00473a60
push str.ScanImgCropCancel_BtnText
lea eax, [esi + 0x4c]
xor edi, edi
mov byte [esi + 0x198], 0
mov byte [esi + 0x1a0], 0
call fcn.005080c0
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x4f1345
mov eax, 0x54ee24
mov dword [ebp - 0x28], edi
cmp dword [esi + 0x44], edi
jle 0x4f1377
cmp eax, edi
je 0x4f1377
cmp word [eax], di
je 0x4f1377
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x4f1362
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push edi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x28], eax
jmp 0x4f137d
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4f1389
mov ecx, 0x54ee24
mov dword [ebp - 0x24], edi
cmp dword [esi + 0x44], edi
jle 0x4f13b3
cmp ecx, edi
je 0x4f13b3
cmp word [ecx], di
je 0x4f13b3
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4f13a6
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4f13bf
mov ecx, 0x54ee24
mov dword [ebp - 0x20], edi
cmp dword [esi + 0x44], edi
jle 0x4f13e9
cmp ecx, edi
je 0x4f13e9
cmp word [ecx], di
je 0x4f13e9
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4f13dc
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4f13f5
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x4f141f
cmp ecx, edi
je 0x4f141f
cmp word [ecx], di
je 0x4f141f
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4f1412
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4f142b
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], edi
jle 0x4f1457
cmp ecx, edi
je 0x4f1457
cmp word [ecx], di
je 0x4f1457
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4f1447
mov eax, 0x54ee24
push eax
push edi
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x80ed
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
cmp eax, edi
je 0x4f1493
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 0x34]
mov eax, edi
test edi, edi
jne 0x4f14a1
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x438]
mov byte [esi + 0x55c], 1
call fcn.005080c0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x424], edx
mov edx, dword [ebp - 0x58]
mov dword [esi + 0x428], eax
mov dword [esi + 0x420], ecx
mov ecx, dword [ebp - 0x1c]
push edx
lea eax, [esi + 0x410]
push eax
mov dword [esi + 0x42c], ecx
mov dword [esi + 0x434], 0x15
mov dword [esi + 0x430], 1
call fcn.00473a60
xor ebx, ebx
mov byte [esi + 0x444], bl
mov byte [esi + 0x44c], bl
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x4f1522
push edi
call fcn.0051ebab
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x4f1539
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4