Function at 0x45d0c0
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 0x45d0e3
push str.PhotoEditorPage_Mini_PanelWnd_BkColor
jmp 0x45d0e8
push str.PhotoEditorPage_PanelWnd_BkColor
call fcn.004fcf00
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45d0fb
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45d126
test ecx, ecx
je 0x45d126
cmp word [ecx], ax
je 0x45d126
mov eax, dword [esi + 4]
test eax, eax
jne 0x45d117
mov eax, 0x538640
push eax
push 0
push str.ColorR
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ebx, [edi + 0x8a0]
mov dword [ebx], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45d13c
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45d167
test ecx, ecx
je 0x45d167
cmp word [ecx], ax
je 0x45d167
mov eax, dword [esi + 4]
test eax, eax
jne 0x45d158
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x8a4], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45d17b
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45d1a6
test ecx, ecx
je 0x45d1a6
cmp word [ecx], ax
je 0x45d1a6
mov eax, dword [esi + 4]
test eax, eax
jne 0x45d197
mov eax, 0x538640
push eax
push 0
push str.ColorB
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x8a8], eax
cmp dword [edi + 0x68], 0
jne 0x45d1d5
test ebx, ebx
je 0x45d1d5
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 0x45d1e5
push str.PhotoEditorPage_Mini_PanelWnd_VLineLeft
jmp 0x45d1ea
push str.PhotoEditorPage_PanelWnd_VLineLeft
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x45d1fb
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45d22a
test ecx, ecx
je 0x45d22a
cmp word [ecx], ax
je 0x45d22a
mov eax, dword [esi + 4]
test eax, eax
jne 0x45d217
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call ebx
jmp 0x45d230
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x8ac], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45d244
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45d26b
test ecx, ecx
je 0x45d26b
cmp word [ecx], ax
je 0x45d26b
mov eax, dword [esi + 4]
test eax, eax
jne 0x45d260
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [edi + 0x8b0], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45d27f
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45d2a6
test ecx, ecx
je 0x45d2a6
cmp word [ecx], ax
je 0x45d2a6
mov eax, dword [esi + 4]
test eax, eax
jne 0x45d29b
mov eax, 0x538640
push eax
push 0
push str.ColorB
push ecx
call ebx
cmp byte [ebp + 0x20], 0
mov dword [edi + 0x8b4], eax
lea eax, [edi + 0x4c]
je 0x45d2bc
push str.PhotoEditorPage_Mini_PanelWnd_VLineRight
jmp 0x45d2c1
push str.PhotoEditorPage_PanelWnd_VLineRight
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x45d2d2
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45d2f9
test ecx, ecx
je 0x45d2f9
cmp word [ecx], ax
je 0x45d2f9
mov eax, dword [esi + 4]
test eax, eax
jne 0x45d2ee
mov eax, 0x538640
push eax
push 0
push str.ColorR
push ecx
call ebx
mov dword [edi + 0x8b8], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45d30d
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45d334
test ecx, ecx
je 0x45d334
cmp word [ecx], ax
je 0x45d334
mov eax, dword [esi + 4]
test eax, eax
jne 0x45d329
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [edi + 0x8bc], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45d348
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x45d36f
test ecx, ecx
je 0x45d36f
cmp word [ecx], ax
je 0x45d36f
mov eax, dword [esi + 4]
test eax, eax
jne 0x45d364
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 0x235f
mov dword [edi + 0x8c0], 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 0x45d3d4
mov eax, dword [ebp + 0x20]
push eax
push esi
push ebx
push edi
call fcn.0045d660
mov ecx, dword [ebp + 0x20]
push ecx
push esi
push ebx
push edi
call fcn.0045dd80
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x1c