Function at 0x4c19b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x577698]
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x4c19f8
push 0x80
push ebx
push ebx
push ebx
push 0xc74f
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x4c19ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x10], esi
jmp 0x4c1a02
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x4c1a34
push 0x80
push ebx
push ebx
push ebx
push 0xc750
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x4c1a2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], esi
jmp 0x4c1a3e
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x4c1a70
push 0x80
push ebx
push ebx
push ebx
push 0xc751
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x4c1a66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], esi
jmp 0x4c1a7a
mov dword [0x57768c], 0x57
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x4c1aa7
push 0x80
push ebx
push ebx
push ebx
push 0xc752
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x4c1aa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov dword [ebp - 0x1c], esi
jmp 0x4c1ab1
mov dword [0x57768c], 0x57
mov esi, dword [ebp + 8]
push esi
mov ecx, str.BrCcAdvnc.sdd
call fcn.00470260
push str.RangeScanWnd_BaseWnd
lea eax, [esi + 0x10]
call fcn.005080c0
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x4c1ad8
mov eax, 0x54ee24
mov dword [ebp - 8], ebx
cmp dword [esi + 8], ebx
jle 0x4c1b0a
cmp eax, ebx
je 0x4c1b0a
cmp word [eax], bx
je 0x4c1b0a
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x4c1af5
mov ecx, 0x54ee24
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.Width
push eax
call ebx
mov dword [ebp - 8], eax
jmp 0x4c1b10
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.RangeScanWnd_CloseBtn
lea eax, [esi + 0x10]
call fcn.005080c0
mov ecx, dword [esi + 0x10]
xor edi, edi
cmp ecx, edi
jne 0x4c1b2b
mov ecx, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x4c1b55
cmp ecx, edi
je 0x4c1b55
cmp word [ecx], di
je 0x4c1b55
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4c1b48
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4c1b61
mov ecx, 0x54ee24
mov dword [ebp - 4], edi
cmp dword [esi + 8], edi
jle 0x4c1b8b
cmp ecx, edi
je 0x4c1b8b
cmp word [ecx], di
je 0x4c1b8b
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4c1b7e
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4c1b97
mov ecx, 0x54ee24
cmp dword [esi + 8], edi
jle 0x4c1bbe
test ecx, ecx
je 0x4c1bbe
cmp word [ecx], di
je 0x4c1bbe
mov eax, dword [esi + 4]
test eax, eax
jne 0x4c1bb1
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4c1bca
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4c1bf7
test ecx, ecx
je 0x4c1bf7
cmp word [ecx], bx
je 0x4c1bf7
mov eax, dword [esi + 4]
test eax, eax
jne 0x4c1be6
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [esi + 0xb74], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0xb70], eax
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xa8c], eax
xor eax, eax
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0xadc], eax
mov dword [esi + 0xae0], eax
mov dword [esi + 0xaec], eax
mov dword [esi + 0xaf0], eax
mov dword [esi + 0xa88], edx
mov edx, dword [ebp - 0x1c]
push 0x80ff
lea eax, [ebp - 0x28]
mov dword [esi + 0xa90], ecx
push eax
mov ecx, 0x5776a0
mov dword [esi + 0xa94], edx
mov byte [esi + 0xa79], 1
mov dword [esi + 0xae4], edi
mov dword [esi + 0xae8], ebx
mov dword [esi + 0xaf4], edi
mov dword [esi + 0xaf8], ebx
call fcn.00471380
mov eax, dword [ebp - 0x28]
mov ecx, esi
mov dword [ecx + 0xa74], 0
test eax, eax
jne 0x4c1c9c
mov eax, 0x54ee24
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push edx
mov edx, dword [ebp + 0xc]
push ecx
push 0
push eax
push 0x17d8
push edx
mov eax, 0x10000000
lea ecx, [esi + 0x8b4]
call fcn.0043b720
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4c1cd5
push eax
call fcn.0051eadb
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10