Function at 0x4ca330
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.00466b30
xor edi, edi
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x4ca358
push str.ScanFuncPage_Mini_PanelWnd
jmp 0x4ca35d
push str.ScanFuncPage_PanelWnd
call fcn.004fcf00
mov eax, dword [esi + 0x10]
cmp eax, edi
jne 0x4ca36e
mov eax, 0x538640
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x4ca39c
cmp eax, edi
je 0x4ca39c
cmp word [eax], di
je 0x4ca39c
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x4ca38b
mov ecx, 0x538640
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 0x4ca3a8
mov ecx, 0x538640
mov dword [ebp - 8], edi
cmp dword [esi + 8], edi
jle 0x4ca3d6
cmp ecx, edi
je 0x4ca3d6
cmp word [ecx], di
je 0x4ca3d6
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4ca3c5
mov eax, 0x538640
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 0x4ca3e2
mov ecx, 0x538640
mov dword [ebp - 4], edi
cmp dword [esi + 8], edi
jle 0x4ca410
cmp ecx, edi
je 0x4ca410
cmp word [ecx], di
je 0x4ca410
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4ca3ff
mov eax, 0x538640
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 0x4ca420
push str.ScanFuncPage_Mini_PanelWnd_BkColor
jmp 0x4ca425
push str.ScanFuncPage_PanelWnd_BkColor
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4ca436
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], edi
jle 0x4ca460
cmp ecx, edi
je 0x4ca460
cmp word [ecx], di
je 0x4ca460
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4ca452
mov eax, 0x538640
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 0x4ca476
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4ca4a1
test ecx, ecx
je 0x4ca4a1
cmp word [ecx], ax
je 0x4ca4a1
mov eax, dword [esi + 4]
test eax, eax
jne 0x4ca492
mov eax, 0x538640
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 0x4ca4b5
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4ca4e0
test ecx, ecx
je 0x4ca4e0
cmp word [ecx], ax
je 0x4ca4e0
mov eax, dword [esi + 4]
test eax, eax
jne 0x4ca4d1
mov eax, 0x538640
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 0x4ca50f
test edi, edi
je 0x4ca50f
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 0x4ca51f
push str.ScanFuncPage_Mini_PanelWnd_VLineLeft
jmp 0x4ca524
push str.ScanFuncPage_PanelWnd_VLineLeft
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4ca535
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4ca564
test ecx, ecx
je 0x4ca564
cmp word [ecx], ax
je 0x4ca564
mov eax, dword [esi + 4]
test eax, eax
jne 0x4ca551
mov eax, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call edi
jmp 0x4ca56a
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 0x4ca57e
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4ca5a5
test ecx, ecx
je 0x4ca5a5
cmp word [ecx], ax
je 0x4ca5a5
mov eax, dword [esi + 4]
test eax, eax
jne 0x4ca59a
mov eax, 0x538640
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 0x4ca5b9
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4ca5e0
test ecx, ecx
je 0x4ca5e0
cmp word [ecx], ax
je 0x4ca5e0
mov eax, dword [esi + 4]
test eax, eax
jne 0x4ca5d5
mov eax, 0x538640
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 0x4ca5f6
push str.ScanFuncPage_Mini_PanelWnd_VLineRight
jmp 0x4ca5fb
push str.ScanFuncPage_PanelWnd_VLineRight
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4ca60c
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4ca633
test ecx, ecx
je 0x4ca633
cmp word [ecx], ax
je 0x4ca633
mov eax, dword [esi + 4]
test eax, eax
jne 0x4ca628
mov eax, 0x538640
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 0x4ca647
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4ca66e
test ecx, ecx
je 0x4ca66e
cmp word [ecx], ax
je 0x4ca66e
mov eax, dword [esi + 4]
test eax, eax
jne 0x4ca663
mov eax, 0x538640
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 0x4ca682
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4ca6a9
test ecx, ecx
je 0x4ca6a9
cmp word [ecx], ax
je 0x4ca6a9
mov eax, dword [esi + 4]
test eax, eax
jne 0x4ca69e
mov eax, 0x538640
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.005109b0
mov esi, eax
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], edi
mov byte [ebx + 0x38], 1
test esi, esi
je 0x4ca709
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.004cb230
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10