Function at 0x4bd680
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.00466b30
cmp byte [ebp + 0x18], 0
lea eax, [esi + 0x6c]
je 0x4bd6ab
push str.ScanFuncPage_Mini_FuncBtnWnd
jmp 0x4bd6b0
push str.ScanFuncPage_FuncBtnWnd
call fcn.004fcf00
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4bd6c3
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bd6ee
test ecx, ecx
je 0x4bd6ee
cmp word [ecx], ax
je 0x4bd6ee
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bd6df
mov eax, 0x538640
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 0x4bd71a
push str.ScanFuncPage_Mini_FuncBtnWnd_BkColor
jmp 0x4bd71f
push str.ScanFuncPage_FuncBtnWnd_BkColor
call fcn.004fcf00
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4bd730
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bd75b
test ecx, ecx
je 0x4bd75b
cmp word [ecx], ax
je 0x4bd75b
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bd74c
mov eax, 0x538640
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 0x4bd771
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bd79c
test ecx, ecx
je 0x4bd79c
cmp word [ecx], ax
je 0x4bd79c
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bd78d
mov eax, 0x538640
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 0x4bd7b0
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bd7db
test ecx, ecx
je 0x4bd7db
cmp word [ecx], ax
je 0x4bd7db
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bd7cc
mov eax, 0x538640
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 0x4bd810
test ebx, ebx
je 0x4bd810
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 0x4bd820
push str.ScanFuncPage_Mini_FuncBtnWnd_VLineLeft
jmp 0x4bd825
push str.ScanFuncPage_FuncBtnWnd_VLineLeft
call fcn.004fcf00
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4bd836
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bd865
test ecx, ecx
je 0x4bd865
cmp word [ecx], ax
je 0x4bd865
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bd852
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call ebx
jmp 0x4bd86b
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 0x4bd87f
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bd8a6
test ecx, ecx
je 0x4bd8a6
cmp word [ecx], ax
je 0x4bd8a6
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bd89b
mov eax, 0x538640
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 0x4bd8ba
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bd8e1
test ecx, ecx
je 0x4bd8e1
cmp word [ecx], ax
je 0x4bd8e1
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bd8d6
mov eax, 0x538640
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 0x4bd8f7
push str.ScanFuncPage_Mini_FuncBtnWnd_VLineRight
jmp 0x4bd8fc
push str.ScanFuncPage_FuncBtnWnd_VLineRight
call fcn.004fcf00
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4bd90d
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bd934
test ecx, ecx
je 0x4bd934
cmp word [ecx], ax
je 0x4bd934
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bd929
mov eax, 0x538640
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 0x4bd948
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bd96f
test ecx, ecx
je 0x4bd96f
cmp word [ecx], ax
je 0x4bd96f
mov eax, dword [edi + 4]
test eax, eax
jne 0x4bd964
mov eax, 0x538640
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 0x4bd983
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4bd9ac
test ecx, ecx
je 0x4bd9ac
cmp word [ecx], ax
je 0x4bd9ac
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x4bd9a1
mov eax, 0x538640
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.005109b0
mov edi, eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test edi, edi
je 0x4bda07
mov ecx, dword [ebp + 8]
push edi
push ecx
push esi
call fcn.004bdf40
call fcn.004bdac0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14