Function at 0x4c3750
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ccb8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edi, [esi + 0x3c]
push edi
mov ecx, str.BrCcAdvnc.sdd
call fcn.00470370
mov eax, dword [ebp + 0x10]
push eax
call fcn.004c3ed0
call fcn.004c4710
mov ecx, dword [esi + 0xc8]
lea eax, [esi + 0x74]
test ecx, ecx
jle 0x4c37ce
mov edx, dword [eax + 0x58]
test edx, edx
jle 0x4c37ce
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ebx, edx
mov eax, 0x10000000
mov edx, 0x1984
call fcn.00509070
lea eax, [esi + 0x4c]
push str.RangeScanPreScan_BtnWnd
mov dword [ebp - 0x24], eax
call fcn.005080c0
mov eax, dword [edi + 0x10]
xor ebx, ebx
cmp eax, ebx
jne 0x4c37ec
mov eax, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], ebx
cmp dword [edi + 8], ebx
jle 0x4c381c
cmp eax, ebx
je 0x4c381c
cmp word [eax], bx
je 0x4c381c
mov ecx, dword [edi + 4]
cmp ecx, ebx
jne 0x4c380f
mov ecx, 0x54ee24
push ecx
push ebx
push str.PosiX
push eax
call esi
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x4c3828
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [edi + 8], ebx
jle 0x4c3852
cmp ecx, ebx
je 0x4c3852
cmp word [ecx], bx
je 0x4c3852
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4c3845
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call esi
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jne 0x4c385e
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [edi + 8], ebx
jle 0x4c388b
test ecx, ecx
je 0x4c388b
cmp word [ecx], bx
je 0x4c388b
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c387a
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c3897
mov ecx, 0x54ee24
xor esi, esi
cmp dword [edi + 8], esi
jle 0x4c38c4
test ecx, ecx
je 0x4c38c4
cmp word [ecx], si
je 0x4c38c4
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c38b3
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push 0x8101
lea edx, [ebp - 0x30]
push edx
mov ecx, 0x5776a0
call fcn.00471480
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [eax + 0x2c4], ecx
mov eax, dword [ebp - 0x30]
cmp eax, ecx
jne 0x4c38f1
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17e9
push eax
add ecx, 0x104
mov eax, 0x10000000
call fcn.0043b8a0
mov eax, dword [ebp - 0x24]
push str.RangeScanScan_BtnPict
call fcn.005080c0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4c3936
mov eax, 0x54ee24
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [edi + 8], esi
jle 0x4c396a
cmp eax, esi
je 0x4c396a
cmp word [eax], si
je 0x4c396a
mov ecx, dword [edi + 4]
cmp ecx, esi
jne 0x4c3955
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push esi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x18], eax
jmp 0x4c3970
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x4c397c
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], esi
cmp dword [edi + 8], esi
jle 0x4c39a6
cmp ecx, esi
je 0x4c39a6
cmp word [ecx], si
je 0x4c39a6
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4c3999
mov eax, 0x54ee24
push eax
push esi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x1c], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x4c39b2
mov ecx, 0x54ee24
mov dword [ebp - 0x20], esi
cmp dword [edi + 8], esi
jle 0x4c39dc
cmp ecx, esi
je 0x4c39dc
cmp word [ecx], si
je 0x4c39dc
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4c39cf
mov eax, 0x54ee24
push eax
push esi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x4c39e8
mov ecx, 0x54ee24
mov dword [ebp - 0x24], esi
cmp dword [edi + 8], esi
jle 0x4c3a14
cmp ecx, esi
je 0x4c3a14
cmp word [ecx], si
je 0x4c3a14
mov edi, dword [edi + 4]
mov eax, edi
cmp edi, esi
jne 0x4c3a07
mov eax, 0x54ee24
push eax
push esi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x24], eax
mov eax, dword [0x577698]
mov esi, dword [sym.imp.USER32.dll_LoadImageW]
xor ebx, ebx
lea edi, [ebx + 0x57]
test eax, eax
je 0x4c3a50
push 0x80
push ebx
push ebx
push ebx
push 0xc7cd
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x4c3a49
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4c3a56
mov dword [0x57768c], edi
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4c3a8f
push 0x80
push 0
push 0
push 0
push 0xc7ce
push eax
call esi
mov edi, eax
test edi, edi
jne 0x4c3a85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x4c3a95
mov dword [0x57768c], edi
mov dword [ebp - 0x10], 0
test eax, eax
je 0x4c3ace
push 0x80
push 0
push 0
push 0
push 0xc7cf
push eax
call esi
mov edi, eax
test edi, edi
jne 0x4c3ac4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x10], edi
jmp 0x4c3ad8
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x4c3b06
push 0x80
push edi
push edi
push edi
push 0xc7d8
push eax
call esi
mov edi, eax
test edi, edi
jne 0x4c3aff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x4c3b10
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x4c3b3b
push 0x80
push ecx
push ecx
push ecx
push 0xc7d9
push eax
call esi
mov esi, eax
test esi, esi
jne 0x4c3b37
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, esi
jmp 0x4c3b45
mov dword [0x57768c], 0x57
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x590], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x5dc], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x58c], edx
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x5e4], eax
mov dword [esi + 0x5f4], eax
mov dword [esi + 0x584], ebx
mov dword [esi + 0x588], ebx
mov dword [esi + 0x5d8], edx
mov edx, dword [ebp - 0x20]
xor ebx, ebx
mov dword [esi + 0x5e0], edx
mov dword [esi + 0x5e8], ebx
mov dword [esi + 0x5ec], ebx
mov dword [esi + 0x5f0], edx
mov word [esi + 0x575], 0x101
mov eax, esi
push str.RangeScanScan_BtnWnd
add eax, 0x4c
mov dword [esi + 0x594], edi
mov dword [esi + 0x598], ecx
call fcn.005080c0
mov eax, esi
mov eax, dword [eax + 0x4c]
test eax, eax
jne 0x4c3bd6
mov eax, 0x54ee24
xor edi, edi
mov ebx, esi
mov dword [ebp - 0x20], edi
cmp dword [ebx + 0x44], edi
jle 0x4c3c08
cmp eax, edi
je 0x4c3c08
cmp word [eax], di
je 0x4c3c08
mov ecx, dword [ebx + 0x40]
cmp ecx, edi
jne 0x4c3bf7
mov ecx, 0x54ee24
push ecx
push edi
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebx + 0x4c]
cmp ecx, edi
jne 0x4c3c14
mov ecx, 0x54ee24
mov dword [ebp - 0x24], edi
cmp dword [ebx + 0x44], edi
jle 0x4c3c42
cmp ecx, edi
je 0x4c3c42
cmp word [ecx], di
je 0x4c3c42
mov eax, dword [ebx + 0x40]
cmp eax, edi
jne 0x4c3c31
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x4c]
cmp ecx, edi
jne 0x4c3c4e
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 0x44], edi
jle 0x4c3c7b
test ecx, ecx
je 0x4c3c7b
cmp word [ecx], di
je 0x4c3c7b
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x4c3c6a
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jne 0x4c3c87
mov ecx, 0x54ee24
xor ebx, ebx
mov eax, esi
cmp dword [eax + 0x44], ebx
jle 0x4c3cb6
test ecx, ecx
je 0x4c3cb6
cmp word [ecx], bx
je 0x4c3cb6
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x4c3ca5
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push 0x2af9
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4c3ce9
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx + 0x570], 0
test eax, eax
jne 0x4c3d02
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17ea
push eax
mov eax, 0x10000000
lea ecx, [esi + 0x3b0]
call fcn.0043b8a0
mov esi, dword [ebp + 8]
push str.RangeScanCancel_BtnWnd
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x4c3d47
mov eax, 0x54ee24
xor ebx, ebx
mov edi, esi
mov dword [ebp - 0x24], ebx
cmp dword [edi + 0x44], ebx
jle 0x4c3d7d
cmp eax, ebx
je 0x4c3d7d
cmp word [eax], bx
je 0x4c3d7d
mov ecx, dword [edi + 0x40]
cmp ecx, ebx
jne 0x4c3d68
mov ecx, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push ebx
push str.PosiX
push eax
call esi
mov dword [ebp - 0x24], eax
jmp 0x4c3d83
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x4c]
cmp ecx, ebx
jne 0x4c3d8f
mov ecx, 0x54ee24
mov dword [ebp + 8], ebx
cmp dword [edi + 0x44], ebx
jle 0x4c3db9
cmp ecx, ebx
je 0x4c3db9
cmp word [ecx], bx
je 0x4c3db9
mov eax, dword [edi + 0x40]
cmp eax, ebx
jne 0x4c3dac
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call esi
mov dword [ebp + 8], eax
mov ecx, dword [edi + 0x4c]
cmp ecx, ebx
jne 0x4c3dc5
mov ecx, 0x54ee24
cmp dword [edi + 0x44], ebx
jle 0x4c3dec
test ecx, ecx
je 0x4c3dec
cmp word [ecx], bx
je 0x4c3dec
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4c3ddf
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call esi
mov ebx, eax
mov ecx, dword [edi + 0x4c]
test ecx, ecx
jne 0x4c3df8
mov ecx, 0x54ee24
xor esi, esi
cmp dword [edi + 0x44], esi
jle 0x4c3e25
test ecx, ecx
je 0x4c3e25
cmp word [ecx], si
je 0x4c3e25
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x4c3e14
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push 0x80ed
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4c3e63
push eax
call fcn.0051ebab
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 - 0x30]
mov dword [edi + 0x81c], 0
test eax, eax
jne 0x4c3e79
mov eax, 0x54ee24
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push 0
push eax
push 0x17f5
push edx
lea ecx, [edi + 0x65c]
mov eax, 0x10000000
call fcn.0043b8a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4c3eb9
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc