Function at 0x4d64e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea esi, [ebx + 0x3c]
push esi
mov ecx, str.BrCcHome.sdd
call fcn.00470260
xor edi, edi
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x4d6508
push str.ScanFuncPage_Mini_PanelWnd
jmp 0x4d650d
push str.ScanFuncPage_PanelWnd
call fcn.005080c0
mov eax, dword [esi + 0x10]
cmp eax, edi
jne 0x4d651e
mov eax, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x4d654c
cmp eax, edi
je 0x4d654c
cmp word [eax], di
je 0x4d654c
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x4d653b
mov ecx, 0x54ee24
push ecx
push edi
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d6558
mov ecx, 0x54ee24
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x4d6586
cmp ecx, edi
je 0x4d6586
cmp word [ecx], di
je 0x4d6586
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d6575
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d6592
mov ecx, 0x54ee24
mov dword [ebp - 4], edi
cmp dword [esi + 8], edi
jle 0x4d65c0
cmp ecx, edi
je 0x4d65c0
cmp word [ecx], di
je 0x4d65c0
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d65af
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x4d65d0
push str.ScanFuncPage_Mini_PanelWnd_BkColor
jmp 0x4d65d5
push str.ScanFuncPage_PanelWnd_BkColor
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d65e6
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], edi
jle 0x4d6610
cmp ecx, edi
je 0x4d6610
cmp word [ecx], di
je 0x4d6610
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d6602
mov eax, 0x54ee24
push eax
push edi
push str.ColorR
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edi, [ebx + 0xb60]
mov dword [edi], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4d6626
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6651
test ecx, ecx
je 0x4d6651
cmp word [ecx], ax
je 0x4d6651
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d6642
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0xb64], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4d6665
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6690
test ecx, ecx
je 0x4d6690
cmp word [ecx], ax
je 0x4d6690
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d6681
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0xb68], eax
cmp dword [ebx + 0x68], 0
jne 0x4d66bf
test edi, edi
je 0x4d66bf
movzx eax, byte [edi + 8]
movzx ecx, byte [edi + 4]
movzx edx, byte [edi]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebx + 0x68], eax
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x4d66cf
push str.ScanFuncPage_Mini_PanelWnd_VLineLeft
jmp 0x4d66d4
push str.ScanFuncPage_PanelWnd_VLineLeft
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4d66e5
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6714
test ecx, ecx
je 0x4d6714
cmp word [ecx], ax
je 0x4d6714
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d6701
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call edi
jmp 0x4d671a
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0xb6c], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4d672e
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6755
test ecx, ecx
je 0x4d6755
cmp word [ecx], ax
je 0x4d6755
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d674a
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call edi
mov dword [ebx + 0xb70], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4d6769
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6790
test ecx, ecx
je 0x4d6790
cmp word [ecx], ax
je 0x4d6790
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d6785
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call edi
cmp byte [ebp + 0x14], 0
mov dword [ebx + 0xb74], eax
lea eax, [ebx + 0x4c]
je 0x4d67a6
push str.ScanFuncPage_Mini_PanelWnd_VLineRight
jmp 0x4d67ab
push str.ScanFuncPage_PanelWnd_VLineRight
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4d67bc
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d67e3
test ecx, ecx
je 0x4d67e3
cmp word [ecx], ax
je 0x4d67e3
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d67d8
mov eax, 0x54ee24
push eax
push 0
push str.ColorR
push ecx
call edi
mov dword [ebx + 0xb78], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4d67f7
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d681e
test ecx, ecx
je 0x4d681e
cmp word [ecx], ax
je 0x4d681e
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d6813
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call edi
mov dword [ebx + 0xb7c], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4d6832
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6859
test ecx, ecx
je 0x4d6859
cmp word [ecx], ax
je 0x4d6859
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d684e
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
push ebx
push 0x235b
push edi
mov dword [ebx + 0xb80], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push 0
push 0x50000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, ebx
call fcn.0051bbf0
mov esi, eax
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], edi
mov byte [ebx + 0x38], 1
test esi, esi
je 0x4d68b9
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push edx
push esi
push eax
push ebx
mov dword [ebx + 0xb5c], ecx
call fcn.004d73e0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10