Function at 0x495390
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea esi, [ebx + 0x3c]
push esi
mov ecx, 0x53b7a8
mov edi, eax
call fcn.00466b30
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x4953b8
push str.PhotoEditorPage_Mini_PanelWnd
jmp 0x4953bd
push str.PhotoEditorPage_PanelWnd
call fcn.004fcf00
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4953ce
mov eax, 0x538640
cmp dword [esi + 8], 0
mov dword [ebp - 0xc], 0
jle 0x495403
test eax, eax
je 0x495403
cmp word [eax], 0
je 0x495403
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x4953f1
mov ecx, 0x538640
push ecx
push 0
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x49540f
mov ecx, 0x538640
cmp dword [esi + 8], 0
mov dword [ebp - 8], 0
jle 0x495444
test ecx, ecx
je 0x495444
cmp word [ecx], 0
je 0x495444
mov eax, dword [esi + 4]
test eax, eax
jne 0x495432
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x495450
mov ecx, 0x538640
cmp dword [esi + 8], 0
mov dword [ebp - 4], 0
jle 0x495485
test ecx, ecx
je 0x495485
cmp word [ecx], 0
je 0x495485
mov eax, dword [esi + 4]
test eax, eax
jne 0x495473
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
sub edi, dword [ebp + 0x10]
cmp byte [ebp + 0x14], 0
mov dword [ebp + 0x10], edi
lea eax, [ebx + 0x4c]
je 0x49549b
push str.PhotoEditorPage_Mini_PanelWnd_BkColor
jmp 0x4954a0
push str.PhotoEditorPage_PanelWnd_BkColor
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4954b1
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4954dc
test ecx, ecx
je 0x4954dc
cmp word [ecx], ax
je 0x4954dc
mov eax, dword [esi + 4]
test eax, eax
jne 0x4954cd
mov eax, 0x538640
push eax
push 0
push str.ColorR
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edi, [ebx + 0x19e4]
mov dword [edi], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4954f2
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49551d
test ecx, ecx
je 0x49551d
cmp word [ecx], ax
je 0x49551d
mov eax, dword [esi + 4]
test eax, eax
jne 0x49550e
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x19e8], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x495531
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49555c
test ecx, ecx
je 0x49555c
cmp word [ecx], ax
je 0x49555c
mov eax, dword [esi + 4]
test eax, eax
jne 0x49554d
mov eax, 0x538640
push eax
push 0
push str.ColorB
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x19ec], eax
cmp dword [ebx + 0x68], 0
jne 0x49558b
test edi, edi
je 0x49558b
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 0x49559b
push str.PhotoEditorPage_Mini_PanelWnd_VLineLeft
jmp 0x4955a0
push str.PhotoEditorPage_PanelWnd_VLineLeft
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x4955b1
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4955e0
test ecx, ecx
je 0x4955e0
cmp word [ecx], ax
je 0x4955e0
mov eax, dword [esi + 4]
test eax, eax
jne 0x4955cd
mov eax, 0x538640
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call edi
jmp 0x4955e6
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x19f0], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4955fa
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x495621
test ecx, ecx
je 0x495621
cmp word [ecx], ax
je 0x495621
mov eax, dword [esi + 4]
test eax, eax
jne 0x495616
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call edi
mov dword [ebx + 0x19f4], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x495635
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49565c
test ecx, ecx
je 0x49565c
cmp word [ecx], ax
je 0x49565c
mov eax, dword [esi + 4]
test eax, eax
jne 0x495651
mov eax, 0x538640
push eax
push 0
push str.ColorB
push ecx
call edi
cmp byte [ebp + 0x14], 0
mov dword [ebx + 0x19f8], eax
lea eax, [ebx + 0x4c]
je 0x495672
push str.PhotoEditorPage_Mini_PanelWnd_VLineRight
jmp 0x495677
push str.PhotoEditorPage_PanelWnd_VLineRight
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x495688
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4956af
test ecx, ecx
je 0x4956af
cmp word [ecx], ax
je 0x4956af
mov eax, dword [esi + 4]
test eax, eax
jne 0x4956a4
mov eax, 0x538640
push eax
push 0
push str.ColorR
push ecx
call edi
mov dword [ebx + 0x19fc], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4956c3
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x4956ea
test ecx, ecx
je 0x4956ea
cmp word [ecx], ax
je 0x4956ea
mov eax, dword [esi + 4]
test eax, eax
jne 0x4956df
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call edi
mov dword [ebx + 0x1a00], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4956fe
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x495725
test ecx, ecx
je 0x495725
cmp word [ecx], ax
je 0x495725
mov eax, dword [esi + 4]
test eax, eax
jne 0x49571a
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 0x2329
push edi
mov dword [ebx + 0x1a04], 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 0x495781
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push edx
push esi
push eax
mov ecx, ebx
call fcn.004963d0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10