Function at 0x4c95d0
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.00470370
cmp byte [ebp + 0x18], 0
lea eax, [esi + 0x6c]
je 0x4c95fb
push str.ScanFuncPage_Mini_FuncBtnWnd
jmp 0x4c9600
push str.ScanFuncPage_FuncBtnWnd
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4c9613
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c963e
test ecx, ecx
je 0x4c963e
cmp word [ecx], ax
je 0x4c963e
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c962f
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 0x4c966a
push str.ScanFuncPage_Mini_FuncBtnWnd_BkColor
jmp 0x4c966f
push str.ScanFuncPage_FuncBtnWnd_BkColor
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c9680
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c96ab
test ecx, ecx
je 0x4c96ab
cmp word [ecx], ax
je 0x4c96ab
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c969c
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 0x4c96c1
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c96ec
test ecx, ecx
je 0x4c96ec
cmp word [ecx], ax
je 0x4c96ec
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c96dd
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 0x4c9700
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c972b
test ecx, ecx
je 0x4c972b
cmp word [ecx], ax
je 0x4c972b
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c971c
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 0x4c9760
test ebx, ebx
je 0x4c9760
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 0x4c9770
push str.ScanFuncPage_Mini_FuncBtnWnd_VLineLeft
jmp 0x4c9775
push str.ScanFuncPage_FuncBtnWnd_VLineLeft
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c9786
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c97b5
test ecx, ecx
je 0x4c97b5
cmp word [ecx], ax
je 0x4c97b5
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c97a2
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call ebx
jmp 0x4c97bb
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 0x4c97cf
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c97f6
test ecx, ecx
je 0x4c97f6
cmp word [ecx], ax
je 0x4c97f6
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c97eb
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 0x4c980a
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c9831
test ecx, ecx
je 0x4c9831
cmp word [ecx], ax
je 0x4c9831
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c9826
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 0x4c9847
push str.ScanFuncPage_Mini_FuncBtnWnd_VLineRight
jmp 0x4c984c
push str.ScanFuncPage_FuncBtnWnd_VLineRight
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4c985d
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c9884
test ecx, ecx
je 0x4c9884
cmp word [ecx], ax
je 0x4c9884
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c9879
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 0x4c9898
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c98bf
test ecx, ecx
je 0x4c98bf
cmp word [ecx], ax
je 0x4c98bf
mov eax, dword [edi + 4]
test eax, eax
jne 0x4c98b4
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 0x4c98d3
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4c98fc
test ecx, ecx
je 0x4c98fc
cmp word [ecx], ax
je 0x4c98fc
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x4c98f1
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.0051bcc0
mov edi, eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test edi, edi
je 0x4c9957
mov ecx, dword [ebp + 8]
push edi
push ecx
push esi
call fcn.004c9e90
call fcn.004c9a10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14