Function at 0x459930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
lea esi, [edi + 0x3c]
push esi
mov ecx, 0x554c58
call fcn.00470370
cmp byte [ebp + 0x20], 0
lea eax, [edi + 0x4c]
je 0x459953
push str.PhotoEditorPage_Mini_PanelWnd_BkColor
jmp 0x459958
push str.PhotoEditorPage_PanelWnd_BkColor
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45996b
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x459996
test ecx, ecx
je 0x459996
cmp word [ecx], ax
je 0x459996
mov eax, dword [esi + 4]
test eax, eax
jne 0x459987
mov eax, 0x54ee24
push eax
push 0
push str.ColorR
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ebx, [edi + 0x42c]
mov dword [ebx], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4599ac
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4599d7
test ecx, ecx
je 0x4599d7
cmp word [ecx], ax
je 0x4599d7
mov eax, dword [esi + 4]
test eax, eax
jne 0x4599c8
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x430], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4599eb
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x459a16
test ecx, ecx
je 0x459a16
cmp word [ecx], ax
je 0x459a16
mov eax, dword [esi + 4]
test eax, eax
jne 0x459a07
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x434], eax
cmp dword [edi + 0x68], 0
jne 0x459a45
test ebx, ebx
je 0x459a45
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 0x459a55
push str.PhotoEditorPage_Mini_PanelWnd_VLineLeft
jmp 0x459a5a
push str.PhotoEditorPage_PanelWnd_VLineLeft
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x459a6b
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x459a9a
test ecx, ecx
je 0x459a9a
cmp word [ecx], ax
je 0x459a9a
mov eax, dword [esi + 4]
test eax, eax
jne 0x459a87
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call ebx
jmp 0x459aa0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x438], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x459ab4
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x459adb
test ecx, ecx
je 0x459adb
cmp word [ecx], ax
je 0x459adb
mov eax, dword [esi + 4]
test eax, eax
jne 0x459ad0
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [edi + 0x43c], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x459aef
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x459b16
test ecx, ecx
je 0x459b16
cmp word [ecx], ax
je 0x459b16
mov eax, dword [esi + 4]
test eax, eax
jne 0x459b0b
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call ebx
cmp byte [ebp + 0x20], 0
mov dword [edi + 0x440], eax
lea eax, [edi + 0x4c]
je 0x459b2c
push str.PhotoEditorPage_Mini_PanelWnd_VLineRight
jmp 0x459b31
push str.PhotoEditorPage_PanelWnd_VLineRight
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x459b42
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x459b69
test ecx, ecx
je 0x459b69
cmp word [ecx], ax
je 0x459b69
mov eax, dword [esi + 4]
test eax, eax
jne 0x459b5e
mov eax, 0x54ee24
push eax
push 0
push str.ColorR
push ecx
call ebx
mov dword [edi + 0x444], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x459b7d
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x459ba4
test ecx, ecx
je 0x459ba4
cmp word [ecx], ax
je 0x459ba4
mov eax, dword [esi + 4]
test eax, eax
jne 0x459b99
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [edi + 0x448], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x459bb8
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x459bdf
test ecx, ecx
je 0x459bdf
cmp word [ecx], ax
je 0x459bdf
mov eax, dword [esi + 4]
test eax, eax
jne 0x459bd4
mov eax, 0x54ee24
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 0x235f
mov dword [edi + 0x44c], 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.0051bcc0
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 0x459c4f
mov eax, dword [ebp + 0x20]
push eax
push esi
push ebx
push edi
call fcn.0045a220
mov ecx, dword [ebp + 0x20]
push ecx
push esi
push edi
call fcn.0045a6d0
mov edx, dword [ebp + 0x20]
push edx
push esi
push ebx
push edi
call fcn.0045aa90
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x1c