Function at 0x49d220
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x2348
mov edi, eax
mov eax, dword [ebp + 0x10]
push edi
push eax
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push 0x40000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, esi
call fcn.0051bbf0
mov dword [ebp - 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov byte [esi + 0x38], 1
test eax, eax
je 0x49d598
lea edi, [esi + 0x3c]
push edi
mov ecx, 0x554c48
call fcn.00470260
lea eax, [esi + 0x4c]
push str.PhotoEditorPage_ThumbnailWnd
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x49d296
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49d2c5
test ecx, ecx
je 0x49d2c5
cmp word [ecx], ax
je 0x49d2c5
mov eax, dword [edi + 4]
test eax, eax
jne 0x49d2b2
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.Height
push ecx
call ebx
jmp 0x49d2cb
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
mov dword [esi + 0x81d8], eax
mov eax, dword [ebp - 4]
push edx
push eax
push ecx
lea eax, [esi + 0x3ffc]
call fcn.0050cd00
cmp byte [ebp + 0x14], 0
mov dword [esi + 0x81e0], eax
lea eax, [esi + 0x4c]
je 0x49d2ff
push str.PhotoEditorPage_Mini_PanelWnd
jmp 0x49d304
push str.PhotoEditorPage_PanelWnd
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x49d315
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49d33c
test ecx, ecx
je 0x49d33c
cmp word [ecx], ax
je 0x49d33c
mov eax, dword [edi + 4]
test eax, eax
jne 0x49d331
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call ebx
mov dword [esi + 0x81f0], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x49d350
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49d377
test ecx, ecx
je 0x49d377
cmp word [ecx], ax
je 0x49d377
mov eax, dword [edi + 4]
test eax, eax
jne 0x49d36c
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x81f4], eax
mov al, byte [ebp + 0x14]
mov byte [esi + 0x8208], al
test al, al
mov dword [esi + 0x8200], edx
mov dword [esi + 0x8204], ecx
lea eax, [esi + 0x4c]
je 0x49d3a6
push str.PhotoEditorPage_Mini_ToolBtnWnd
jmp 0x49d3ab
push str.PhotoEditorPage_ToolBtnWnd
call fcn.005080c0
mov ecx, dword [esi + 0x81f0]
mov edx, dword [esi + 0x81d8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x10]
sub ebx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
mov edx, eax
test eax, eax
jne 0x49d3d8
mov edx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49d408
test edx, edx
je 0x49d408
cmp word [edx], ax
je 0x49d408
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x49d3f6
mov eax, 0x54ee24
push eax
push 0
push str.Height
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea edi, [esi + 0x1a84]
push edi
push 0x232e
push edx
push eax
push ebx
mov dword [esi + 0x81ec], eax
mov eax, dword [ebp - 0xc]
push eax
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0x50000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, edi
call fcn.0051bbf0
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ecx
mov byte [edi + 0x38], 1
test ebx, ebx
je 0x49d461
mov edx, dword [ebp + 8]
push 1
push 0
push 1
push ebx
push edx
push edi
call fcn.0050ec90
cmp byte [ebp + 0x14], 0
mov dword [esi + 0x81dc], ebx
lea eax, [esi + 0x4c]
je 0x49d477
push str.PhotoEditorPage_Mini_FuncBtnWnd
jmp 0x49d47c
push str.PhotoEditorPage_FuncBtnWnd
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x49d48d
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x49d4b8
test ecx, ecx
je 0x49d4b8
cmp word [ecx], ax
je 0x49d4b8
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x49d4a9
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x81f8], eax
mov eax, dword [esi + 0x4c]
mov ecx, eax
test eax, eax
jne 0x49d4cc
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x49d4f7
test ecx, ecx
je 0x49d4f7
cmp word [ecx], ax
je 0x49d4f7
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x49d4e8
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x81d8]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x81fc], eax
mov eax, dword [esi + 0x81ec]
lea ebx, [eax + ecx]
sub edx, eax
mov eax, dword [esi + 0x81f8]
sub edx, ecx
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ebx
sub ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], edx
mov edx, dword [ebp - 4]
push ecx
push edx
push eax
lea edi, [esi + 0x3750]
call fcn.0049b820
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0x81f8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push edx
push eax
lea edi, [esi + 0x4908]
push ecx
mov edx, ebx
mov eax, edi
call fcn.004a10c0
mov dword [esi + 0x81e4], eax
mov eax, dword [esi + 0x81e0]
mov esi, dword [esi + 0x3ff8]
test esi, esi
je 0x49d595
test eax, eax
je 0x49d595
mov dword [edi + 0x3868], esi
mov dword [edi + 0x386c], eax
mov dword [edi + 0x3864], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10