Function at 0x4e5550
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ae68
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2af8
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x55a400
call fcn.00467b90
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
cmp eax, ebx
jne 0x4e55a0
mov dword [ebp - 0x58], 0x538640
push str.ScanImgCrop_InfoWnd
lea eax, [esi + 0x4c]
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x4e55bb
mov ecx, 0x538640
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4e55e9
cmp ecx, ebx
je 0x4e55e9
cmp word [ecx], bx
je 0x4e55e9
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4e55d8
mov eax, 0x538640
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 0x4e55f5
mov ecx, 0x538640
mov dword [ebp - 0x1c], ebx
cmp dword [esi + 0x44], ebx
jle 0x4e5623
cmp ecx, ebx
je 0x4e5623
cmp word [ecx], bx
je 0x4e5623
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4e5612
mov eax, 0x538640
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.004fcf00
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x4e563e
mov ecx, 0x538640
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4e5670
cmp ecx, ebx
je 0x4e5670
cmp word [ecx], bx
je 0x4e5670
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4e565b
mov eax, 0x538640
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 0x4e5676
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4e5682
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4e56ac
cmp ecx, ebx
je 0x4e56ac
cmp word [ecx], bx
je 0x4e56ac
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4e569f
mov eax, 0x538640
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 0x4e56b8
mov ecx, 0x538640
mov dword [ebp - 0x20], ebx
cmp dword [esi + 0x44], ebx
jle 0x4e56e2
cmp ecx, ebx
je 0x4e56e2
cmp word [ecx], bx
je 0x4e56e2
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4e56d5
mov eax, 0x538640
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 0x4e56ee
mov ecx, 0x538640
mov dword [ebp - 0x24], ebx
cmp dword [esi + 0x44], ebx
jle 0x4e5718
cmp ecx, ebx
je 0x4e5718
cmp word [ecx], bx
je 0x4e5718
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4e570b
mov eax, 0x538640
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 0x4e5724
mov ecx, 0x538640
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x44], ebx
jle 0x4e574e
cmp ecx, ebx
je 0x4e574e
cmp word [ecx], bx
je 0x4e574e
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4e5741
mov eax, 0x538640
push eax
push ebx
push str.FontPoint
push ecx
call edi
mov dword [ebp - 0x28], eax
push 0x542f58
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 0x4e57a5
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov ecx, edi
lea ebx, [ebp - 0x40]
call fcn.004fca40
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 0x4e57a5
lea edx, [edi + 1]
push edx
push 0x542f58
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, 0x55a400
mov byte [ebp - 4], bl
call fcn.00467b90
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
lea edi, [ebp - 0x34]
call fcn.004fcc10
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4e57e5
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4e57f1
mov eax, 0x538640
push eax
lea eax, [esi + 0xc0]
call fcn.004fcf00
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.0046a1f0
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 + 0x32f4], edi
mov dword [esi + 0x32f8], edx
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x4e588b
mov eax, 0x538640
xor edi, edi
mov dword [ebp - 0x28], edi
cmp dword [esi + 0x44], edi
jle 0x4e58bf
cmp eax, edi
je 0x4e58bf
cmp word [eax], di
je 0x4e58bf
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x4e58aa
mov ecx, 0x538640
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 0x4e58c5
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4e58d1
mov ecx, 0x538640
mov dword [ebp - 0x24], edi
cmp dword [esi + 0x44], edi
jle 0x4e58fb
cmp ecx, edi
je 0x4e58fb
cmp word [ecx], di
je 0x4e58fb
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4e58ee
mov eax, 0x538640
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 0x4e5907
mov ecx, 0x538640
mov dword [ebp - 0x20], edi
cmp dword [esi + 0x44], edi
jle 0x4e5931
cmp ecx, edi
je 0x4e5931
cmp word [ecx], di
je 0x4e5931
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4e5924
mov eax, 0x538640
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 0x4e593d
mov ecx, 0x538640
cmp dword [esi + 0x44], edi
jle 0x4e5964
test ecx, ecx
je 0x4e5964
cmp word [ecx], di
je 0x4e5964
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4e5957
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4e5970
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4e599d
test ecx, ecx
je 0x4e599d
cmp word [ecx], bx
je 0x4e599d
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4e598c
mov eax, 0x538640
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, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4e59d0
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4e59dc
mov eax, 0x538640
push eax
lea eax, [esi + 0x18c]
mov byte [esi + 0x2b0], 1
call fcn.004fcf00
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.0046a1f0
push str.ScanImgCropCancel_BtnText
lea eax, [esi + 0x4c]
xor edi, edi
mov byte [esi + 0x198], 0
mov byte [esi + 0x1a0], 0
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x4e5a65
mov eax, 0x538640
mov dword [ebp - 0x28], edi
cmp dword [esi + 0x44], edi
jle 0x4e5a97
cmp eax, edi
je 0x4e5a97
cmp word [eax], di
je 0x4e5a97
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x4e5a82
mov ecx, 0x538640
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 0x4e5a9d
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4e5aa9
mov ecx, 0x538640
mov dword [ebp - 0x24], edi
cmp dword [esi + 0x44], edi
jle 0x4e5ad3
cmp ecx, edi
je 0x4e5ad3
cmp word [ecx], di
je 0x4e5ad3
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4e5ac6
mov eax, 0x538640
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 0x4e5adf
mov ecx, 0x538640
mov dword [ebp - 0x20], edi
cmp dword [esi + 0x44], edi
jle 0x4e5b09
cmp ecx, edi
je 0x4e5b09
cmp word [ecx], di
je 0x4e5b09
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4e5afc
mov eax, 0x538640
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 0x4e5b15
mov ecx, 0x538640
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x4e5b3f
cmp ecx, edi
je 0x4e5b3f
cmp word [ecx], di
je 0x4e5b3f
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4e5b32
mov eax, 0x538640
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 0x4e5b4b
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], edi
jle 0x4e5b77
cmp ecx, edi
je 0x4e5b77
cmp word [ecx], di
je 0x4e5b77
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4e5b67
mov eax, 0x538640
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, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
cmp eax, edi
je 0x4e5bb3
push eax
call fcn.005134a7
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 0x4e5bc1
mov eax, 0x538640
push eax
lea eax, [esi + 0x438]
mov byte [esi + 0x55c], 1
call fcn.004fcf00
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.0046a1f0
xor ebx, ebx
mov byte [esi + 0x444], bl
mov byte [esi + 0x44c], bl
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x4e5c42
push edi
call fcn.005134a7
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x4e5c59
push eax
call fcn.005134a7
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