Function at 0x4d64c0
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.00470370
xor edi, edi
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x4d64e8
push str.ScanFuncPage_Mini_PanelWnd
jmp 0x4d64ed
push str.ScanFuncPage_PanelWnd
call fcn.005080c0
mov eax, dword [esi + 0x10]
cmp eax, edi
jne 0x4d64fe
mov eax, 0x54ee24
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x4d652c
cmp eax, edi
je 0x4d652c
cmp word [eax], di
je 0x4d652c
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x4d651b
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 0x4d6538
mov ecx, 0x54ee24
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x4d6566
cmp ecx, edi
je 0x4d6566
cmp word [ecx], di
je 0x4d6566
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d6555
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 0x4d6572
mov ecx, 0x54ee24
mov dword [ebp - 4], edi
cmp dword [esi + 8], edi
jle 0x4d65a0
cmp ecx, edi
je 0x4d65a0
cmp word [ecx], di
je 0x4d65a0
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d658f
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 0x4d65b0
push str.ScanFuncPage_Mini_PanelWnd_BkColor
jmp 0x4d65b5
push str.ScanFuncPage_PanelWnd_BkColor
call fcn.005080c0
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4d65c6
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], edi
jle 0x4d65f0
cmp ecx, edi
je 0x4d65f0
cmp word [ecx], di
je 0x4d65f0
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d65e2
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 0x4d6606
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6631
test ecx, ecx
je 0x4d6631
cmp word [ecx], ax
je 0x4d6631
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d6622
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 0x4d6645
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6670
test ecx, ecx
je 0x4d6670
cmp word [ecx], ax
je 0x4d6670
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d6661
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 0x4d669f
test edi, edi
je 0x4d669f
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 0x4d66af
push str.ScanFuncPage_Mini_PanelWnd_VLineLeft
jmp 0x4d66b4
push str.ScanFuncPage_PanelWnd_VLineLeft
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4d66c5
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d66f4
test ecx, ecx
je 0x4d66f4
cmp word [ecx], ax
je 0x4d66f4
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d66e1
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call edi
jmp 0x4d66fa
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 0x4d670e
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6735
test ecx, ecx
je 0x4d6735
cmp word [ecx], ax
je 0x4d6735
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d672a
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 0x4d6749
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6770
test ecx, ecx
je 0x4d6770
cmp word [ecx], ax
je 0x4d6770
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d6765
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 0x4d6786
push str.ScanFuncPage_Mini_PanelWnd_VLineRight
jmp 0x4d678b
push str.ScanFuncPage_PanelWnd_VLineRight
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4d679c
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d67c3
test ecx, ecx
je 0x4d67c3
cmp word [ecx], ax
je 0x4d67c3
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d67b8
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 0x4d67d7
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d67fe
test ecx, ecx
je 0x4d67fe
cmp word [ecx], ax
je 0x4d67fe
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d67f3
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 0x4d6812
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4d6839
test ecx, ecx
je 0x4d6839
cmp word [ecx], ax
je 0x4d6839
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d682e
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.0051bcc0
mov esi, eax
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], edi
mov byte [ebx + 0x38], 1
test esi, esi
je 0x4d6899
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.004d73c0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10