Function at 0x49da40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov cl, byte [ebp + 0x18]
sub esp, 0x14
push ebx
push edi
mov ebx, eax
mov al, byte [ebp + 0x14]
mov byte [esi + 0x3c05], cl
lea edi, [esi + 0x3c]
push edi
mov ecx, 0x53b7a8
mov byte [esi + 0x3c04], al
call fcn.00466b30
cmp byte [ebp + 0x18], 0
lea eax, [esi + 0x4c]
je 0x49da7a
push str.PhotoFilerPage_Mini_Wnd_HLineBottom
jmp 0x49da7f
push str.PhotoFilerPage_Wnd_HLineBottom
call fcn.004fcf00
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x49da92
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49dabd
test ecx, ecx
je 0x49dabd
cmp word [ecx], ax
je 0x49dabd
mov eax, dword [edi + 4]
test eax, eax
jne 0x49daae
mov eax, 0x538640
push eax
push 0
push str.ColorR
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x3bf4], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x49dad1
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49dafc
test ecx, ecx
je 0x49dafc
cmp word [ecx], ax
je 0x49dafc
mov eax, dword [edi + 4]
test eax, eax
jne 0x49daed
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x3bf8], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x49db10
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x49db3b
test ecx, ecx
je 0x49db3b
cmp word [ecx], ax
je 0x49db3b
mov eax, dword [edi + 4]
test eax, eax
jne 0x49db2c
mov eax, 0x538640
push eax
push 0
push str.ColorB
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push esi
push 0x2347
push ebx
push edx
mov dword [esi + 0x3bfc], eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
push 0
push 0x40000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, esi
call fcn.005109b0
mov dword [ebp - 8], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test eax, eax
je 0x49dd8b
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
lea eax, [esi + 0x4c]
je 0x49db97
push str.PhotoFilerPage_Mini_PanelWnd
jmp 0x49db9c
push str.PhotoFilerPage_PanelWnd
call fcn.004fcf00
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x49dbad
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 4], 0
jle 0x49dbe6
test ecx, ecx
je 0x49dbe6
cmp word [ecx], 0
je 0x49dbe6
mov eax, dword [edi + 4]
test eax, eax
jne 0x49dbd0
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.PosiX
push ecx
call ebx
mov dword [ebp - 4], eax
jmp 0x49dbec
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 4]
mov dword [esi + 0x3c08], edx
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x49dc01
mov eax, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp + 0xc], 0
jle 0x49dc32
test eax, eax
je 0x49dc32
cmp word [eax], 0
je 0x49dc32
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x49dc24
mov ecx, 0x538640
push ecx
push 0
push str.PosiY
push eax
call ebx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x3c0c], eax
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x49dc47
mov eax, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0xc], 0
jle 0x49dc78
test eax, eax
je 0x49dc78
cmp word [eax], 0
je 0x49dc78
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x49dc6a
mov ecx, 0x538640
push ecx
push 0
push str.Width
push eax
call ebx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov eax, esi
call fcn.0049e410
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
push ebx
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
lea edi, [esi + 0x120]
push edx
call fcn.0049ec50
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
push edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x3c14], eax
mov eax, dword [ebp - 4]
add eax, ebx
push edx
push eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov eax, esi
mov dword [esi + 0x3c18], ecx
call fcn.0049e8a0
mov eax, dword [esi + 0x3c00]
mov ecx, dword [ebp - 4]
add ecx, eax
lea edx, [eax + ebx]
mov eax, dword [ebp - 0x10]
sub eax, edx
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push ecx
lea ebx, [esi + 0xc38]
call fcn.0049a2b0
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x3c10], eax
mov eax, dword [esi + 0x3bdc]
mov dword [edi + 0x924], eax
mov dword [edi + 0x9dc], eax
mov dword [edi + 0xad4], eax
mov eax, dword [esi + 0x3c10]
test ecx, ecx
je 0x49dd55
test eax, eax
je 0x49dd55
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xd0], eax
cmp dword [esi + 0xcc], 0
mov eax, dword [esi + 0x3be8]
je 0x49dd7c
cmp dword [esi + 0xd0], 0
je 0x49dd7c
mov edx, dword [ebp - 0xc]
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], eax
push esi
call fcn.0049e4a0
push esi
call fcn.0049e540
mov eax, dword [ebp - 8]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14