Function at 0x49ebe0
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, 0x554c58
mov edi, eax
call fcn.00470370
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x49ec08
push str.PhotoEditorPage_Mini_PanelWnd
jmp 0x49ec0d
push str.PhotoEditorPage_PanelWnd
call fcn.005080c0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x49ec1e
mov eax, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp - 0xc], 0
jle 0x49ec53
test eax, eax
je 0x49ec53
cmp word [eax], 0
je 0x49ec53
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x49ec41
mov ecx, 0x54ee24
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 0x49ec5f
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp - 8], 0
jle 0x49ec94
test ecx, ecx
je 0x49ec94
cmp word [ecx], 0
je 0x49ec94
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ec82
mov eax, 0x54ee24
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 0x49eca0
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp - 4], 0
jle 0x49ecd5
test ecx, ecx
je 0x49ecd5
cmp word [ecx], 0
je 0x49ecd5
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ecc3
mov eax, 0x54ee24
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 0x49eceb
push str.PhotoEditorPage_Mini_PanelWnd_BkColor
jmp 0x49ecf0
push str.PhotoEditorPage_PanelWnd_BkColor
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x49ed01
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ed2c
test ecx, ecx
je 0x49ed2c
cmp word [ecx], ax
je 0x49ed2c
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ed1d
mov eax, 0x54ee24
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 0x49ed42
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ed6d
test ecx, ecx
je 0x49ed6d
cmp word [ecx], ax
je 0x49ed6d
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ed5e
mov eax, 0x54ee24
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 0x49ed81
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49edac
test ecx, ecx
je 0x49edac
cmp word [ecx], ax
je 0x49edac
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ed9d
mov eax, 0x54ee24
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 0x49eddb
test edi, edi
je 0x49eddb
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 0x49edeb
push str.PhotoEditorPage_Mini_PanelWnd_VLineLeft
jmp 0x49edf0
push str.PhotoEditorPage_PanelWnd_VLineLeft
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x49ee01
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ee30
test ecx, ecx
je 0x49ee30
cmp word [ecx], ax
je 0x49ee30
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ee1d
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call edi
jmp 0x49ee36
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 0x49ee4a
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ee71
test ecx, ecx
je 0x49ee71
cmp word [ecx], ax
je 0x49ee71
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ee66
mov eax, 0x54ee24
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 0x49ee85
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49eeac
test ecx, ecx
je 0x49eeac
cmp word [ecx], ax
je 0x49eeac
mov eax, dword [esi + 4]
test eax, eax
jne 0x49eea1
mov eax, 0x54ee24
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 0x49eec2
push str.PhotoEditorPage_Mini_PanelWnd_VLineRight
jmp 0x49eec7
push str.PhotoEditorPage_PanelWnd_VLineRight
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x49eed8
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49eeff
test ecx, ecx
je 0x49eeff
cmp word [ecx], ax
je 0x49eeff
mov eax, dword [esi + 4]
test eax, eax
jne 0x49eef4
mov eax, 0x54ee24
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 0x49ef13
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ef3a
test ecx, ecx
je 0x49ef3a
cmp word [ecx], ax
je 0x49ef3a
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ef2f
mov eax, 0x54ee24
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 0x49ef4e
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ef75
test ecx, ecx
je 0x49ef75
cmp word [ecx], ax
je 0x49ef75
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ef6a
mov eax, 0x54ee24
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.0051bcc0
mov esi, eax
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], edi
mov byte [ebx + 0x38], 1
test esi, esi
je 0x49efd1
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.0049fc20
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10