Function at 0x493a60
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.005109b0
mov dword [ebp - 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov byte [esi + 0x38], 1
test eax, eax
je 0x493dda
lea edi, [esi + 0x3c]
push edi
mov ecx, 0x53b7a8
call fcn.00466b30
lea eax, [esi + 0x4c]
push 0x53ef60
call fcn.004fcf00
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x493ad6
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493b05
test ecx, ecx
je 0x493b05
cmp word [ecx], ax
je 0x493b05
mov eax, dword [edi + 4]
test eax, eax
jne 0x493af2
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.Height
push ecx
call ebx
jmp 0x493b0b
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
mov dword [esi + 0x80a8], eax
mov eax, dword [ebp - 4]
push edx
push eax
push ecx
lea eax, [esi + 0x3ecc]
call fcn.00501c60
cmp byte [ebp + 0x14], 0
mov dword [esi + 0x80b0], eax
lea eax, [esi + 0x4c]
je 0x493b3f
push str.PhotoEditorPage_Mini_PanelWnd
jmp 0x493b44
push str.PhotoEditorPage_PanelWnd
call fcn.004fcf00
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x493b55
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493b7c
test ecx, ecx
je 0x493b7c
cmp word [ecx], ax
je 0x493b7c
mov eax, dword [edi + 4]
test eax, eax
jne 0x493b71
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call ebx
mov dword [esi + 0x80c0], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x493b90
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493bb7
test ecx, ecx
je 0x493bb7
cmp word [ecx], ax
je 0x493bb7
mov eax, dword [edi + 4]
test eax, eax
jne 0x493bac
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x80c4], eax
mov al, byte [ebp + 0x14]
mov byte [esi + 0x80d8], al
test al, al
mov dword [esi + 0x80d0], edx
mov dword [esi + 0x80d4], ecx
lea eax, [esi + 0x4c]
je 0x493be6
push str.PhotoEditorPage_Mini_ToolBtnWnd
jmp 0x493beb
push str.PhotoEditorPage_ToolBtnWnd
call fcn.004fcf00
mov ecx, dword [esi + 0x80c0]
mov edx, dword [esi + 0x80a8]
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 0x493c18
mov edx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x493c48
test edx, edx
je 0x493c48
cmp word [edx], ax
je 0x493c48
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x493c36
mov eax, 0x538640
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 + 0x80bc], 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.005109b0
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 0x493ca3
mov edx, dword [ebp + 8]
push 0
push 1
push 0
push 1
push ebx
push edx
push edi
call fcn.005037d0
cmp byte [ebp + 0x14], 0
mov dword [esi + 0x80ac], ebx
lea eax, [esi + 0x4c]
je 0x493cb9
push str.PhotoEditorPage_Mini_FuncBtnWnd
jmp 0x493cbe
push str.PhotoEditorPage_FuncBtnWnd
call fcn.004fcf00
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x493ccf
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x493cfa
test ecx, ecx
je 0x493cfa
cmp word [ecx], ax
je 0x493cfa
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x493ceb
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x80c8], eax
mov eax, dword [esi + 0x4c]
mov ecx, eax
test eax, eax
jne 0x493d0e
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 0x44], eax
jle 0x493d39
test ecx, ecx
je 0x493d39
cmp word [ecx], ax
je 0x493d39
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x493d2a
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x80a8]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x80cc], eax
mov eax, dword [esi + 0x80bc]
lea ebx, [eax + ecx]
sub edx, eax
mov eax, dword [esi + 0x80c8]
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 + 0x3620]
call fcn.004920e0
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0x80c8]
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 + 0x47d8]
push ecx
mov edx, ebx
mov eax, edi
call fcn.004978f0
mov dword [esi + 0x80b4], eax
mov eax, dword [esi + 0x80b0]
mov esi, dword [esi + 0x3ec8]
test esi, esi
je 0x493dd7
test eax, eax
je 0x493dd7
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