Function at 0x49eb50
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, 0x554c48
mov edi, eax
call fcn.00470260
cmp byte [ebp + 0x14], 0
lea eax, [ebx + 0x4c]
je 0x49eb78
push str.PhotoEditorPage_Mini_PanelWnd
jmp 0x49eb7d
push str.PhotoEditorPage_PanelWnd
call fcn.005080c0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x49eb8e
mov eax, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp - 0xc], 0
jle 0x49ebc3
test eax, eax
je 0x49ebc3
cmp word [eax], 0
je 0x49ebc3
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x49ebb1
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 0x49ebcf
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp - 8], 0
jle 0x49ec04
test ecx, ecx
je 0x49ec04
cmp word [ecx], 0
je 0x49ec04
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ebf2
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 0x49ec10
mov ecx, 0x54ee24
cmp dword [esi + 8], 0
mov dword [ebp - 4], 0
jle 0x49ec45
test ecx, ecx
je 0x49ec45
cmp word [ecx], 0
je 0x49ec45
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ec33
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 0x49ec5b
push str.PhotoEditorPage_Mini_PanelWnd_BkColor
jmp 0x49ec60
push str.PhotoEditorPage_PanelWnd_BkColor
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x49ec71
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ec9c
test ecx, ecx
je 0x49ec9c
cmp word [ecx], ax
je 0x49ec9c
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ec8d
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 0x49ecb2
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ecdd
test ecx, ecx
je 0x49ecdd
cmp word [ecx], ax
je 0x49ecdd
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ecce
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 0x49ecf1
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ed1c
test ecx, ecx
je 0x49ed1c
cmp word [ecx], ax
je 0x49ed1c
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ed0d
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 0x49ed4b
test edi, edi
je 0x49ed4b
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 0x49ed5b
push str.PhotoEditorPage_Mini_PanelWnd_VLineLeft
jmp 0x49ed60
push str.PhotoEditorPage_PanelWnd_VLineLeft
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x49ed71
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49eda0
test ecx, ecx
je 0x49eda0
cmp word [ecx], ax
je 0x49eda0
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ed8d
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.ColorR
push ecx
call edi
jmp 0x49eda6
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 0x49edba
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ede1
test ecx, ecx
je 0x49ede1
cmp word [ecx], ax
je 0x49ede1
mov eax, dword [esi + 4]
test eax, eax
jne 0x49edd6
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 0x49edf5
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ee1c
test ecx, ecx
je 0x49ee1c
cmp word [ecx], ax
je 0x49ee1c
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ee11
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 0x49ee32
push str.PhotoEditorPage_Mini_PanelWnd_VLineRight
jmp 0x49ee37
push str.PhotoEditorPage_PanelWnd_VLineRight
call fcn.005080c0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x49ee48
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49ee6f
test ecx, ecx
je 0x49ee6f
cmp word [ecx], ax
je 0x49ee6f
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ee64
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 0x49ee83
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49eeaa
test ecx, ecx
je 0x49eeaa
cmp word [ecx], ax
je 0x49eeaa
mov eax, dword [esi + 4]
test eax, eax
jne 0x49ee9f
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 0x49eebe
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x49eee5
test ecx, ecx
je 0x49eee5
cmp word [ecx], ax
je 0x49eee5
mov eax, dword [esi + 4]
test eax, eax
jne 0x49eeda
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.0051bbf0
mov esi, eax
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], edi
mov byte [ebx + 0x38], 1
test esi, esi
je 0x49ef41
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.0049fb90
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10