Function at 0x49d2b0
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.0051bcc0
mov dword [ebp - 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov byte [esi + 0x38], 1
test eax, eax
je 0x49d628
lea edi, [esi + 0x3c]
push edi
mov ecx, 0x554c58
call fcn.00470370
lea eax, [esi + 0x4c]
push str.PhotoEditorPage_ThumbnailWnd
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x49d326
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49d355
test ecx, ecx
je 0x49d355
cmp word [ecx], ax
je 0x49d355
mov eax, dword [edi + 4]
test eax, eax
jne 0x49d342
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.Height
push ecx
call ebx
jmp 0x49d35b
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.0050cdc0
cmp byte [ebp + 0x14], 0
mov dword [esi + 0x81e0], eax
lea eax, [esi + 0x4c]
je 0x49d38f
push str.PhotoEditorPage_Mini_PanelWnd
jmp 0x49d394
push str.PhotoEditorPage_PanelWnd
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x49d3a5
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49d3cc
test ecx, ecx
je 0x49d3cc
cmp word [ecx], ax
je 0x49d3cc
mov eax, dword [edi + 4]
test eax, eax
jne 0x49d3c1
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 0x49d3e0
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49d407
test ecx, ecx
je 0x49d407
cmp word [ecx], ax
je 0x49d407
mov eax, dword [edi + 4]
test eax, eax
jne 0x49d3fc
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 0x49d436
push str.PhotoEditorPage_Mini_ToolBtnWnd
jmp 0x49d43b
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 0x49d468
mov edx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49d498
test edx, edx
je 0x49d498
cmp word [edx], ax
je 0x49d498
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x49d486
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.0051bcc0
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 0x49d4f1
mov edx, dword [ebp + 8]
push 1
push 0
push 1
push ebx
push edx
push edi
call fcn.0050ed50
cmp byte [ebp + 0x14], 0
mov dword [esi + 0x81dc], ebx
lea eax, [esi + 0x4c]
je 0x49d507
push str.PhotoEditorPage_Mini_FuncBtnWnd
jmp 0x49d50c
push str.PhotoEditorPage_FuncBtnWnd
call fcn.005080c0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x49d51d
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x49d548
test ecx, ecx
je 0x49d548
cmp word [ecx], ax
je 0x49d548
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x49d539
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 0x49d55c
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x49d587
test ecx, ecx
je 0x49d587
cmp word [ecx], ax
je 0x49d587
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x49d578
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.0049b8a0
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.004a1140
mov dword [esi + 0x81e4], eax
mov eax, dword [esi + 0x81e0]
mov esi, dword [esi + 0x3ff8]
test esi, esi
je 0x49d625
test eax, eax
je 0x49d625
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