Function at 0x4ba2d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532828
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 - 0x48]
push eax
mov ecx, 0x55a400
call fcn.00467b90
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
cmp eax, ebx
jne 0x4ba320
mov dword [ebp - 0x30], 0x538640
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x4ba32e
mov ecx, 0x538640
cmp dword [esi + 0x44], ebx
jle 0x4ba35a
cmp ecx, ebx
je 0x4ba35a
cmp word [ecx], bx
je 0x4ba35a
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4ba348
mov eax, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.FontPoint
push ecx
call edi
jmp 0x4ba360
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [esi + 0x4c]
push str.RangeScan_InfoWnd
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x4ba37b
mov ecx, 0x538640
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba3a5
cmp ecx, ebx
je 0x4ba3a5
cmp word [ecx], bx
je 0x4ba3a5
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4ba398
mov eax, 0x538640
push eax
push ebx
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba3b1
mov ecx, 0x538640
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba3db
cmp ecx, ebx
je 0x4ba3db
cmp word [ecx], bx
je 0x4ba3db
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4ba3ce
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba3e7
mov ecx, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba411
cmp ecx, ebx
je 0x4ba411
cmp word [ecx], bx
je 0x4ba411
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4ba404
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba41d
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4ba449
cmp ecx, ebx
je 0x4ba449
cmp word [ecx], bx
je 0x4ba449
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4ba439
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba455
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba482
test ecx, ecx
je 0x4ba482
cmp word [ecx], bx
je 0x4ba482
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4ba471
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004baeb0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4ba49b
mov eax, 0x538640
push eax
lea eax, [esi + 0xd8]
call fcn.004fcf00
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0xc0], edx
mov edx, dword [ebp - 0x30]
mov dword [esi + 0xc4], eax
push edx
lea eax, [esi + 0xb0]
push eax
mov dword [esi + 0xc8], ecx
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd4], 0x10
mov dword [esi + 0xd0], 1
call fcn.0046a1f0
mov byte [esi + 0xe4], 0
mov byte [esi + 0xec], 0
test ebx, ebx
je 0x4ba522
push 0xffffffffffffffec
mov ecx, ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x4ba522
or dword [esi + 0xd4], 0x20000
push str.RangeScanPreScan_BtnText
lea eax, [esi + 0x4c]
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
xor edi, edi
mov ecx, eax
cmp eax, edi
jne 0x4ba53f
mov ecx, 0x538640
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4ba571
cmp ecx, edi
je 0x4ba571
cmp word [ecx], di
je 0x4ba571
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4ba55c
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 0x18], eax
jmp 0x4ba577
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4ba583
mov ecx, 0x538640
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4ba5ad
cmp ecx, edi
je 0x4ba5ad
cmp word [ecx], di
je 0x4ba5ad
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4ba5a0
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4ba5b9
mov ecx, 0x538640
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x4ba5e3
cmp ecx, edi
je 0x4ba5e3
cmp word [ecx], di
je 0x4ba5e3
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4ba5d6
mov eax, 0x538640
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4ba5ef
mov ecx, 0x538640
cmp dword [esi + 0x44], edi
jle 0x4ba616
test ecx, ecx
je 0x4ba616
cmp word [ecx], di
je 0x4ba616
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4ba609
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 0x4ba622
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba64f
test ecx, ecx
je 0x4ba64f
cmp word [ecx], bx
je 0x4ba64f
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4ba63e
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x8101
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4ba682
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4ba68e
mov eax, 0x538640
push eax
lea eax, [esi + 0x1a4]
mov byte [esi + 0x2c8], 1
call fcn.004fcf00
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x18c], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x190], ecx
push eax
lea ecx, [esi + 0x17c]
push ecx
mov dword [esi + 0x194], edx
mov dword [esi + 0x198], edi
mov dword [esi + 0x1a0], 0x15
mov dword [esi + 0x19c], 1
call fcn.0046a1f0
push str.RangeScanScan_BtnText
lea eax, [esi + 0x4c]
mov byte [esi + 0x1b0], 0
mov byte [esi + 0x1b8], 0
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
xor ebx, ebx
cmp eax, ebx
jne 0x4ba717
mov eax, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba749
cmp eax, ebx
je 0x4ba749
cmp word [eax], bx
je 0x4ba749
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4ba734
mov ecx, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push ebx
push str.PosiX
push eax
call edi
mov dword [ebp - 0x18], eax
jmp 0x4ba74f
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba75b
mov ecx, 0x538640
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba785
cmp ecx, ebx
je 0x4ba785
cmp word [ecx], bx
je 0x4ba785
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4ba778
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba791
mov ecx, 0x538640
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba7bb
cmp ecx, ebx
je 0x4ba7bb
cmp word [ecx], bx
je 0x4ba7bb
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4ba7ae
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba7c7
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4ba7f4
test ecx, ecx
je 0x4ba7f4
cmp word [ecx], bx
je 0x4ba7f4
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4ba7e3
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x4ba800
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba82d
test ecx, ecx
je 0x4ba82d
cmp word [ecx], bx
je 0x4ba82d
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4ba81c
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x2af9
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4ba860
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4ba86c
mov eax, 0x538640
push eax
lea eax, [esi + 0x450]
mov byte [esi + 0x574], 1
call fcn.004fcf00
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x438], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x43c], ecx
push eax
lea ecx, [esi + 0x428]
push ecx
mov dword [esi + 0x440], edx
mov dword [esi + 0x444], edi
mov dword [esi + 0x44c], 0x15
mov dword [esi + 0x448], 1
call fcn.0046a1f0
push str.RangeScanCancel_BtnText
lea eax, [esi + 0x4c]
mov byte [esi + 0x45c], 0
mov byte [esi + 0x464], 0
call fcn.004fcf00
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x4ba8f3
mov eax, 0x538640
xor ebx, ebx
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba927
cmp eax, ebx
je 0x4ba927
cmp word [eax], bx
je 0x4ba927
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4ba912
mov ecx, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push ebx
push str.PosiX
push eax
call edi
mov dword [ebp - 0x18], eax
jmp 0x4ba92d
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba939
mov ecx, 0x538640
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba963
cmp ecx, ebx
je 0x4ba963
cmp word [ecx], bx
je 0x4ba963
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4ba956
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba96f
mov ecx, 0x538640
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4ba999
cmp ecx, ebx
je 0x4ba999
cmp word [ecx], bx
je 0x4ba999
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4ba98c
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba9a5
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4ba9d1
cmp ecx, ebx
je 0x4ba9d1
cmp word [ecx], bx
je 0x4ba9d1
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4ba9c1
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4ba9dd
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4baa0a
test ecx, ecx
je 0x4baa0a
cmp word [ecx], bx
je 0x4baa0a
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4ba9f9
mov eax, 0x538640
push eax
push 0
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x80ed
lea edx, [ebp - 0x3c]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4baa48
push eax
call fcn.005134a7
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4baa54
mov eax, 0x538640
push eax
lea eax, [esi + 0x6fc]
mov byte [esi + 0x820], 1
call fcn.004fcf00
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0x6e4], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x6e8], ecx
push eax
lea ecx, [esi + 0x6d4]
push ecx
mov dword [esi + 0x6ec], edx
mov dword [esi + 0x6f0], edi
mov dword [esi + 0x6f8], 0x15
mov dword [esi + 0x6f4], 1
call fcn.0046a1f0
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
mov byte [esi + 0x708], bl
mov byte [esi + 0x710], bl
cmp eax, ebx
je 0x4baade
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
cmp eax, ebx
je 0x4baaf5
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