Function at 0x4c9560
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x5c]
push edi
mov ecx, str.BrCcHome.sdd
mov ebx, eax
call fcn.00470260
cmp byte [ebp + 0x18], 0
lea eax, [esi + 0x6c]
je 0x4c958b
push str.ScanFuncPage_Mini_FuncBtnWnd
jmp 0x4c9590
push str.ScanFuncPage_FuncBtnWnd
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4c95a3
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c95ce
test ecx, ecx
je 0x4c95ce
cmp word [ecx], ax
je 0x4c95ce
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c95bf
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
sub ecx, eax
sub ebx, edx
cmp byte [ebp + 0x18], 0
mov dword [esi + 0xdf0], eax
mov dword [esi + 0xdf4], edx
mov dword [ebp - 4], ecx
mov dword [ebp + 0x14], ebx
lea eax, [esi + 0x6c]
je 0x4c95fa
push str.ScanFuncPage_Mini_FuncBtnWnd_BkColor
jmp 0x4c95ff
push str.ScanFuncPage_FuncBtnWnd_BkColor
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c9610
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c963b
test ecx, ecx
je 0x4c963b
cmp word [ecx], ax
je 0x4c963b
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c962c
mov eax, 0x54ee24
push eax
push 0
push str.ColorR
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ebx, [esi + 0xe04]
mov dword [ebx], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4c9651
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c967c
test ecx, ecx
je 0x4c967c
cmp word [ecx], ax
je 0x4c967c
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c966d
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0xe08], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4c9690
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c96bb
test ecx, ecx
je 0x4c96bb
cmp word [ecx], ax
je 0x4c96bb
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c96ac
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0xe0c], eax
cmp dword [esi + 0x88], 0
jne 0x4c96f0
test ebx, ebx
je 0x4c96f0
movzx eax, byte [ebx + 8]
movzx ecx, byte [ebx + 4]
movzx edx, byte [ebx]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x88], eax
cmp byte [ebp + 0x18], 0
lea eax, [esi + 0x6c]
je 0x4c9700
push str.ScanFuncPage_Mini_FuncBtnWnd_VLineLeft
jmp 0x4c9705
push str.ScanFuncPage_FuncBtnWnd_VLineLeft
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c9716
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c9745
test ecx, ecx
je 0x4c9745
cmp word [ecx], ax
je 0x4c9745
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c9732
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call ebx
jmp 0x4c974b
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0xe10], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4c975f
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c9786
test ecx, ecx
je 0x4c9786
cmp word [ecx], ax
je 0x4c9786
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c977b
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [esi + 0xe14], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4c979a
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c97c1
test ecx, ecx
je 0x4c97c1
cmp word [ecx], ax
je 0x4c97c1
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c97b6
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call ebx
cmp byte [ebp + 0x18], 0
mov dword [esi + 0xe18], eax
lea eax, [esi + 0x6c]
je 0x4c97d7
push str.ScanFuncPage_Mini_FuncBtnWnd_VLineRight
jmp 0x4c97dc
push str.ScanFuncPage_FuncBtnWnd_VLineRight
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c97ed
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c9814
test ecx, ecx
je 0x4c9814
cmp word [ecx], ax
je 0x4c9814
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c9809
mov eax, 0x54ee24
push eax
push 0
push str.ColorR
push ecx
call ebx
mov dword [esi + 0xe1c], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4c9828
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c984f
test ecx, ecx
je 0x4c984f
cmp word [ecx], ax
je 0x4c984f
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c9844
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [esi + 0xe20], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4c9863
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c988c
test ecx, ecx
je 0x4c988c
cmp word [ecx], ax
je 0x4c988c
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x4c9881
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push esi
push 0x232f
push ebx
push ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0xe24], eax
mov eax, dword [esi + 0xdf0]
push eax
mov eax, dword [ebp - 4]
push edx
push eax
push 0
push 0x50000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, esi
call fcn.0051bbf0
mov edi, eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test edi, edi
je 0x4c98e7
mov ecx, dword [ebp + 8]
push edi
push ecx
push esi
call fcn.004c9e20
call fcn.004c99a0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14