Function at 0x45b1f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
lea esi, [edi + 0x3c]
push esi
mov ecx, 0x554c48
call fcn.00470260
cmp byte [ebp + 0x20], 0
lea eax, [edi + 0x4c]
je 0x45b213
push str.PhotoEditorPage_Mini_PanelWnd_BkColor
jmp 0x45b218
push str.PhotoEditorPage_PanelWnd_BkColor
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45b22b
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45b256
test ecx, ecx
je 0x45b256
cmp word [ecx], ax
je 0x45b256
mov eax, dword [esi + 4]
test eax, eax
jne 0x45b247
mov eax, 0x54ee24
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 0x45b26c
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45b297
test ecx, ecx
je 0x45b297
cmp word [ecx], ax
je 0x45b297
mov eax, dword [esi + 4]
test eax, eax
jne 0x45b288
mov eax, 0x54ee24
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 0x45b2ab
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45b2d6
test ecx, ecx
je 0x45b2d6
cmp word [ecx], ax
je 0x45b2d6
mov eax, dword [esi + 4]
test eax, eax
jne 0x45b2c7
mov eax, 0x54ee24
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 0x45b305
test ebx, ebx
je 0x45b305
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 0x45b315
push str.PhotoEditorPage_Mini_PanelWnd_VLineLeft
jmp 0x45b31a
push str.PhotoEditorPage_PanelWnd_VLineLeft
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x45b32b
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45b35a
test ecx, ecx
je 0x45b35a
cmp word [ecx], ax
je 0x45b35a
mov eax, dword [esi + 4]
test eax, eax
jne 0x45b347
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call ebx
jmp 0x45b360
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 0x45b374
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45b39b
test ecx, ecx
je 0x45b39b
cmp word [ecx], ax
je 0x45b39b
mov eax, dword [esi + 4]
test eax, eax
jne 0x45b390
mov eax, 0x54ee24
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 0x45b3af
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45b3d6
test ecx, ecx
je 0x45b3d6
cmp word [ecx], ax
je 0x45b3d6
mov eax, dword [esi + 4]
test eax, eax
jne 0x45b3cb
mov eax, 0x54ee24
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 0x45b3ec
push str.PhotoEditorPage_Mini_PanelWnd_VLineRight
jmp 0x45b3f1
push str.PhotoEditorPage_PanelWnd_VLineRight
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x45b402
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45b429
test ecx, ecx
je 0x45b429
cmp word [ecx], ax
je 0x45b429
mov eax, dword [esi + 4]
test eax, eax
jne 0x45b41e
mov eax, 0x54ee24
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 0x45b43d
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45b464
test ecx, ecx
je 0x45b464
cmp word [ecx], ax
je 0x45b464
mov eax, dword [esi + 4]
test eax, eax
jne 0x45b459
mov eax, 0x54ee24
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 0x45b478
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45b49f
test ecx, ecx
je 0x45b49f
cmp word [ecx], ax
je 0x45b49f
mov eax, dword [esi + 4]
test eax, eax
jne 0x45b494
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 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.0051bbf0
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 0x45b50f
mov eax, dword [ebp + 0x20]
push eax
push esi
push ebx
push edi
call fcn.0045ba60
mov ecx, dword [ebp + 0x20]
push ecx
push esi
push edi
call fcn.0045beb0
mov edx, dword [ebp + 0x20]
push edx
push esi
push ebx
push edi
call fcn.0045c200
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x1c