Function at 0x4c3e70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f0d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 - 0x48]
push eax
mov ecx, 0x5776a0
call fcn.00471380
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
cmp eax, ebx
jne 0x4c3ec0
mov dword [ebp - 0x30], 0x54ee24
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x4c3ece
mov ecx, 0x54ee24
cmp dword [esi + 0x44], ebx
jle 0x4c3efa
cmp ecx, ebx
je 0x4c3efa
cmp word [ecx], bx
je 0x4c3efa
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4c3ee8
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.FontPoint
push ecx
call edi
jmp 0x4c3f00
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [esi + 0x4c]
push str.RangeScan_InfoWnd
call fcn.005080c0
mov eax, dword [esi + 0x4c]
mov ecx, eax
cmp eax, ebx
jne 0x4c3f1b
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4c3f45
cmp ecx, ebx
je 0x4c3f45
cmp word [ecx], bx
je 0x4c3f45
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4c3f38
mov eax, 0x54ee24
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 0x4c3f51
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4c3f7b
cmp ecx, ebx
je 0x4c3f7b
cmp word [ecx], bx
je 0x4c3f7b
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4c3f6e
mov eax, 0x54ee24
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 0x4c3f87
mov ecx, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4c3fb1
cmp ecx, ebx
je 0x4c3fb1
cmp word [ecx], bx
je 0x4c3fb1
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4c3fa4
mov eax, 0x54ee24
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 0x4c3fbd
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4c3fe9
cmp ecx, ebx
je 0x4c3fe9
cmp word [ecx], bx
je 0x4c3fe9
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4c3fd9
mov eax, 0x54ee24
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 0x4c3ff5
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4c4022
test ecx, ecx
je 0x4c4022
cmp word [ecx], bx
je 0x4c4022
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4c4011
mov eax, 0x54ee24
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.004c4a50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4c403b
mov eax, 0x54ee24
push eax
lea eax, [esi + 0xd8]
call fcn.005080c0
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.00473690
mov byte [esi + 0xe4], 0
mov byte [esi + 0xec], 0
test ebx, ebx
je 0x4c40c2
push 0xffffffffffffffec
mov ecx, ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x4c40c2
or dword [esi + 0xd4], 0x20000
push str.RangeScanPreScan_BtnText
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
xor edi, edi
mov ecx, eax
cmp eax, edi
jne 0x4c40df
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4c4111
cmp ecx, edi
je 0x4c4111
cmp word [ecx], di
je 0x4c4111
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4c40fc
mov eax, 0x54ee24
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 0x4c4117
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4c4123
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4c414d
cmp ecx, edi
je 0x4c414d
cmp word [ecx], di
je 0x4c414d
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4c4140
mov eax, 0x54ee24
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 0x4c4159
mov ecx, 0x54ee24
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x4c4183
cmp ecx, edi
je 0x4c4183
cmp word [ecx], di
je 0x4c4183
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4c4176
mov eax, 0x54ee24
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 0x4c418f
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4c41b6
test ecx, ecx
je 0x4c41b6
cmp word [ecx], di
je 0x4c41b6
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4c41a9
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 0x4c41c2
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4c41ef
test ecx, ecx
je 0x4c41ef
cmp word [ecx], bx
je 0x4c41ef
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4c41de
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4c4222
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4c422e
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x1a4]
mov byte [esi + 0x2c8], 1
call fcn.005080c0
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.00473690
push str.RangeScanScan_BtnText
lea eax, [esi + 0x4c]
mov byte [esi + 0x1b0], 0
mov byte [esi + 0x1b8], 0
call fcn.005080c0
mov eax, dword [esi + 0x4c]
xor ebx, ebx
cmp eax, ebx
jne 0x4c42b7
mov eax, 0x54ee24
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4c42e9
cmp eax, ebx
je 0x4c42e9
cmp word [eax], bx
je 0x4c42e9
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4c42d4
mov ecx, 0x54ee24
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 0x4c42ef
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4c42fb
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4c4325
cmp ecx, ebx
je 0x4c4325
cmp word [ecx], bx
je 0x4c4325
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4c4318
mov eax, 0x54ee24
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 0x4c4331
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4c435b
cmp ecx, ebx
je 0x4c435b
cmp word [ecx], bx
je 0x4c435b
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4c434e
mov eax, 0x54ee24
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 0x4c4367
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4c4394
test ecx, ecx
je 0x4c4394
cmp word [ecx], bx
je 0x4c4394
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4c4383
mov eax, 0x54ee24
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 0x4c43a0
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4c43cd
test ecx, ecx
je 0x4c43cd
cmp word [ecx], bx
je 0x4c43cd
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4c43bc
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4c4400
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4c440c
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x450]
mov byte [esi + 0x574], 1
call fcn.005080c0
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.00473690
push str.RangeScanCancel_BtnText
lea eax, [esi + 0x4c]
mov byte [esi + 0x45c], 0
mov byte [esi + 0x464], 0
call fcn.005080c0
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x4c4493
mov eax, 0x54ee24
xor ebx, ebx
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x44], ebx
jle 0x4c44c7
cmp eax, ebx
je 0x4c44c7
cmp word [eax], bx
je 0x4c44c7
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x4c44b2
mov ecx, 0x54ee24
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 0x4c44cd
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x4c44d9
mov ecx, 0x54ee24
mov dword [ebp - 0x14], ebx
cmp dword [esi + 0x44], ebx
jle 0x4c4503
cmp ecx, ebx
je 0x4c4503
cmp word [ecx], bx
je 0x4c4503
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4c44f6
mov eax, 0x54ee24
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 0x4c450f
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x4c4539
cmp ecx, ebx
je 0x4c4539
cmp word [ecx], bx
je 0x4c4539
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4c452c
mov eax, 0x54ee24
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 0x4c4545
mov ecx, 0x54ee24
xor edi, edi
cmp dword [esi + 0x44], ebx
jle 0x4c4571
cmp ecx, ebx
je 0x4c4571
cmp word [ecx], bx
je 0x4c4571
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x4c4561
mov eax, 0x54ee24
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 0x4c457d
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jle 0x4c45aa
test ecx, ecx
je 0x4c45aa
cmp word [ecx], bx
je 0x4c45aa
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4c4599
mov eax, 0x54ee24
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, 0x5776a0
call fcn.00471380
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00508010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4c45e8
push eax
call fcn.0051eadb
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 0x4c45f4
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x6fc]
mov byte [esi + 0x820], 1
call fcn.005080c0
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.00473690
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 0x4c467e
push eax
call fcn.0051eadb
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 0x4c4695
push eax
call fcn.0051eadb
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