Function at 0x451f20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
lea esi, [edi + 0x3c]
push esi
mov ecx, 0x53b7a8
call fcn.00466b30
cmp byte [ebp + 0x20], 0
lea eax, [edi + 0x4c]
je 0x451f43
push str.PhotoEditorPage_Mini_PanelWnd_BkColor
jmp 0x451f48
push str.PhotoEditorPage_PanelWnd_BkColor
call fcn.004fcf00
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x451f5b
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x451f86
test ecx, ecx
je 0x451f86
cmp word [ecx], ax
je 0x451f86
mov eax, dword [esi + 4]
test eax, eax
jne 0x451f77
mov eax, 0x538640
push eax
push 0
push str.ColorR
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ebx, [edi + 0x40c]
mov dword [ebx], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x451f9c
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x451fc7
test ecx, ecx
je 0x451fc7
cmp word [ecx], ax
je 0x451fc7
mov eax, dword [esi + 4]
test eax, eax
jne 0x451fb8
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x410], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x451fdb
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x452006
test ecx, ecx
je 0x452006
cmp word [ecx], ax
je 0x452006
mov eax, dword [esi + 4]
test eax, eax
jne 0x451ff7
mov eax, 0x538640
push eax
push 0
push str.ColorB
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x414], eax
cmp dword [edi + 0x68], 0
jne 0x452035
test ebx, ebx
je 0x452035
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 [edi + 0x68], eax
cmp byte [ebp + 0x20], 0
lea eax, [edi + 0x4c]
je 0x452045
push str.PhotoEditorPage_Mini_PanelWnd_VLineLeft
jmp 0x45204a
push str.PhotoEditorPage_PanelWnd_VLineLeft
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x45205b
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45208a
test ecx, ecx
je 0x45208a
cmp word [ecx], ax
je 0x45208a
mov eax, dword [esi + 4]
test eax, eax
jne 0x452077
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call ebx
jmp 0x452090
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x418], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4520a4
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4520cb
test ecx, ecx
je 0x4520cb
cmp word [ecx], ax
je 0x4520cb
mov eax, dword [esi + 4]
test eax, eax
jne 0x4520c0
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [edi + 0x41c], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4520df
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x452106
test ecx, ecx
je 0x452106
cmp word [ecx], ax
je 0x452106
mov eax, dword [esi + 4]
test eax, eax
jne 0x4520fb
mov eax, 0x538640
push eax
push 0
push str.ColorB
push ecx
call ebx
cmp byte [ebp + 0x20], 0
mov dword [edi + 0x420], eax
lea eax, [edi + 0x4c]
je 0x45211c
push str.PhotoEditorPage_Mini_PanelWnd_VLineRight
jmp 0x452121
push str.PhotoEditorPage_PanelWnd_VLineRight
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x452132
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x452159
test ecx, ecx
je 0x452159
cmp word [ecx], ax
je 0x452159
mov eax, dword [esi + 4]
test eax, eax
jne 0x45214e
mov eax, 0x538640
push eax
push 0
push str.ColorR
push ecx
call ebx
mov dword [edi + 0x424], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45216d
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x452194
test ecx, ecx
je 0x452194
cmp word [ecx], ax
je 0x452194
mov eax, dword [esi + 4]
test eax, eax
jne 0x452189
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [edi + 0x428], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4521a8
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4521cf
test ecx, ecx
je 0x4521cf
cmp word [ecx], ax
je 0x4521cf
mov eax, dword [esi + 4]
test eax, eax
jne 0x4521c4
mov eax, 0x538640
push eax
push 0
push str.ColorB
push ecx
call ebx
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
push edi
push 0x2360
mov dword [edi + 0x42c], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
push 0
push 0x40000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov ecx, ebx
mov edx, edi
call fcn.005109b0
mov edx, dword [ebp + 0xc]
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], edx
mov byte [edi + 0x38], 1
test esi, esi
je 0x45223f
mov eax, dword [ebp + 0x20]
push eax
push esi
push ebx
push edi
call fcn.004527f0
mov ecx, dword [ebp + 0x20]
push ecx
push esi
push edi
call fcn.00452c40
mov edx, dword [ebp + 0x20]
push edx
push esi
push ebx
push edi
call fcn.00452f90
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x1c