Function at 0x4e3b00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x55a3f8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
cmp eax, esi
je 0x4e3b48
push 0x80
push esi
push esi
push esi
push 0xc747
push eax
call ebx
mov edi, eax
cmp edi, esi
jne 0x4e3b3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x10], edi
jmp 0x4e3b52
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x14], esi
cmp eax, esi
je 0x4e3b84
push 0x80
push esi
push esi
push esi
push 0xc748
push eax
call ebx
mov edi, eax
cmp edi, esi
jne 0x4e3b7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x14], edi
jmp 0x4e3b8e
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x18], esi
cmp eax, esi
je 0x4e3bc0
push 0x80
push esi
push esi
push esi
push 0xc749
push eax
call ebx
mov edi, eax
cmp edi, esi
jne 0x4e3bb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x18], edi
jmp 0x4e3bca
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x4e3bf7
push 0x80
push esi
push esi
push esi
push 0xc74a
push eax
call ebx
mov edi, eax
cmp edi, esi
jne 0x4e3bf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov dword [ebp - 0x1c], edi
jmp 0x4e3c01
mov dword [0x55a3ec], 0x57
mov ebx, dword [ebp + 8]
push ebx
mov ecx, str.BrCcHome.sdd
call fcn.00466b30
push str.ScanImgCropWnd_BaseWnd
lea eax, [ebx + 0x10]
call fcn.004fcf00
mov eax, dword [ebx + 0x10]
cmp eax, esi
jne 0x4e3c28
mov eax, 0x538640
mov dword [ebp - 8], esi
cmp dword [ebx + 8], esi
jle 0x4e3c5a
cmp eax, esi
je 0x4e3c5a
cmp word [eax], si
je 0x4e3c5a
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x4e3c45
mov ecx, 0x538640
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.Width
push eax
call esi
mov dword [ebp - 8], eax
jmp 0x4e3c60
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.ScanImgCropWnd_MaximumBtn
lea eax, [ebx + 0x10]
call fcn.004fcf00
mov ecx, dword [ebx + 0x10]
xor edi, edi
cmp ecx, edi
jne 0x4e3c7b
mov ecx, 0x538640
mov dword [ebp - 0xc], edi
cmp dword [ebx + 8], edi
jle 0x4e3ca5
cmp ecx, edi
je 0x4e3ca5
cmp word [ecx], di
je 0x4e3ca5
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4e3c98
mov eax, 0x538640
push eax
push edi
push str.PosiX
push ecx
call esi
mov dword [ebp - 0xc], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4e3cb1
mov ecx, 0x538640
mov dword [ebp - 4], edi
cmp dword [ebx + 8], edi
jle 0x4e3cdb
cmp ecx, edi
je 0x4e3cdb
cmp word [ecx], di
je 0x4e3cdb
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4e3cce
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call esi
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4e3ce7
mov ecx, 0x538640
cmp dword [ebx + 8], edi
jle 0x4e3d0e
test ecx, ecx
je 0x4e3d0e
cmp word [ecx], di
je 0x4e3d0e
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4e3d01
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call esi
mov edi, eax
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x4e3d1a
mov ecx, 0x538640
xor esi, esi
cmp dword [ebx + 8], esi
jle 0x4e3d47
test ecx, ecx
je 0x4e3d47
cmp word [ecx], si
je 0x4e3d47
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4e3d36
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0xb6c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0xb68], eax
sub ecx, eax
mov eax, ecx
lea ecx, [ebx + 0x35c]
mov dword [ecx + 0x1d4], edx
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x1d8], edx
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x1dc], edx
mov edx, dword [ebp - 0x1c]
push esi
mov dword [ecx + 0x1e0], edx
xor edx, edx
push edi
mov byte [ecx + 0x1c5], 1
mov dword [ecx + 0x228], edx
mov dword [ecx + 0x22c], edx
mov dword [ecx + 0x230], edi
mov dword [ecx + 0x234], esi
mov dword [ecx + 0x238], edx
mov dword [ecx + 0x23c], edx
mov dword [ecx + 0x240], edi
mov dword [ecx + 0x244], esi
mov dword [ebx + 0x51c], edx
mov ebx, dword [ebp - 4]
push ebx
mov ebx, dword [ebp + 0x10]
push eax
push edx
push 0x538640
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push 0x17d6
push eax
mov eax, 0x10000000
call fcn.00433520
mov eax, dword [0x55a3f8]
xor ebx, ebx
test eax, eax
je 0x4e3e29
push 0x80
push ebx
push ebx
push ebx
push 0xc74b
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x4e3e22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
jmp 0x4e3e33
mov dword [0x55a3ec], 0x57
mov dword [ebp + 0x14], 0
test eax, eax
je 0x4e3e74
push 0x80
push 0
push 0
push 0
push 0xc74c
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x4e3e6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x14], eax
mov eax, dword [0x55a3f8]
jmp 0x4e3e7e
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4e3ebf
push 0x80
push 0
push 0
push 0
push 0xc74d
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4e3eb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x55a3f8]
jmp 0x4e3ec9
mov dword [0x55a3ec], 0x57
xor edx, edx
test eax, eax
je 0x4e3efc
push 0x80
push edx
push edx
push edx
push 0xc74e
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4e3ef8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [ebp - 0x18]
mov edx, eax
jmp 0x4e3f06
mov dword [0x55a3ec], 0x57
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x608]
mov dword [ecx + 0x1d4], ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ecx + 0x1d8], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ecx + 0x1e0], edx
xor edx, edx
push edi
mov dword [ecx + 0x1dc], ebx
mov ebx, dword [ebp + 0x10]
mov dword [ecx + 0x228], edx
mov dword [ecx + 0x22c], edx
mov dword [ecx + 0x238], edx
mov dword [ecx + 0x23c], edx
mov byte [ecx + 0x1c5], 1
mov dword [ecx + 0x230], edi
mov dword [ecx + 0x234], esi
mov dword [ecx + 0x240], edi
mov dword [ecx + 0x244], esi
mov dword [eax + 0x7c8], edx
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
push edx
mov edx, dword [ebp + 0xc]
push 0x538640
push 0x17d7
push edx
xor eax, eax
call fcn.00433520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10