Function at 0x4e3510
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52e920
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov ecx, str.BrCcHome.sdd
call fcn.00466b30
push str.ScanImgCropWnd_CaptionText
lea eax, [esi + 0x10]
call fcn.004fcf00
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp eax, ebx
jne 0x4e3564
mov eax, 0x538640
mov dword [esp + 0x10], ebx
cmp dword [esi + 8], ebx
jle 0x4e3594
cmp eax, ebx
je 0x4e3594
cmp word [eax], bx
je 0x4e3594
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x4e3582
mov ecx, 0x538640
push ecx
push ebx
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4e35a0
mov ecx, 0x538640
mov dword [esp + 0x14], ebx
cmp dword [esi + 8], ebx
jle 0x4e35d0
cmp ecx, ebx
je 0x4e35d0
cmp word [ecx], bx
je 0x4e35d0
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4e35be
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4e35dc
mov ecx, 0x538640
mov dword [esp + 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x4e360c
cmp ecx, ebx
je 0x4e360c
cmp word [ecx], bx
je 0x4e360c
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4e35fa
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4e3618
mov ecx, 0x538640
mov dword [esp + 0x1c], ebx
cmp dword [esi + 8], ebx
jle 0x4e3648
cmp ecx, ebx
je 0x4e3648
cmp word [ecx], bx
je 0x4e3648
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4e3636
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x1c], eax
push 0x2af8
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x4e3674
mov dword [esp + 0x2c], 0x538640
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
jne 0x4e3680
mov ecx, 0x538640
cmp dword [esi + 8], ebx
jle 0x4e36aa
cmp ecx, ebx
je 0x4e36aa
cmp word [ecx], bx
je 0x4e36aa
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4e369a
mov eax, 0x538640
push eax
push ebx
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0xafcc
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x55a400
mov byte [esp + 0x4c], 1
mov edi, 0xffffff
mov byte [esp + 0x54], 0
mov byte [esp + 0x5c], 0
call fcn.00467b90
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4e36e4
mov eax, 0x538640
add esi, 0x20
push eax
lea eax, [esi + 0x64]
call fcn.004fcf00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 0
push 0
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x4c], edx
mov edx, dword [esp + 0x28]
push eax
lea ecx, [esi + 0x3c]
push ecx
mov dword [esi + 0x58], edx
mov dword [esi + 0x60], 0x24
mov dword [esi + 0x5c], 1
call fcn.0046a1f0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x70], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x54]
xor ebx, ebx
cmp eax, ebx
jle 0x4e3791
mov ecx, dword [esi + 0x58]
cmp ecx, ebx
jle 0x4e3791
mov edx, dword [esi + 0x50]
push eax
mov eax, dword [esi + 0x4c]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push edx
push eax
push esi
mov ebx, ecx
mov eax, 0x10000000
mov edx, 0x1966
call fcn.004fdeb0
xor ebx, ebx
mov byte [esp + 0x68], bl
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4e37b2
push eax
call fcn.005134a7
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4e37cb
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8