Function at 0x4a7270
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, 0x554c58
mov byte [esi + 0x3c04], al
call fcn.00470370
cmp byte [ebp + 0x18], 0
lea eax, [esi + 0x4c]
je 0x4a72aa
push str.PhotoFilerPage_Mini_Wnd_HLineBottom
jmp 0x4a72af
push str.PhotoFilerPage_Wnd_HLineBottom
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4a72c2
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4a72ed
test ecx, ecx
je 0x4a72ed
cmp word [ecx], ax
je 0x4a72ed
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a72de
mov eax, 0x54ee24
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 0x4a7301
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4a732c
test ecx, ecx
je 0x4a732c
cmp word [ecx], ax
je 0x4a732c
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a731d
mov eax, 0x54ee24
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 0x4a7340
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4a736b
test ecx, ecx
je 0x4a736b
cmp word [ecx], ax
je 0x4a736b
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a735c
mov eax, 0x54ee24
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.0051bcc0
mov dword [ebp - 8], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test eax, eax
je 0x4a75bb
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
lea eax, [esi + 0x4c]
je 0x4a73c7
push str.PhotoFilerPage_Mini_PanelWnd
jmp 0x4a73cc
push str.PhotoFilerPage_PanelWnd
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4a73dd
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 4], 0
jle 0x4a7416
test ecx, ecx
je 0x4a7416
cmp word [ecx], 0
je 0x4a7416
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a7400
mov eax, 0x54ee24
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 0x4a741c
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 0x4a7431
mov eax, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp + 0xc], 0
jle 0x4a7462
test eax, eax
je 0x4a7462
cmp word [eax], 0
je 0x4a7462
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4a7454
mov ecx, 0x54ee24
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 0x4a7477
mov eax, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0xc], 0
jle 0x4a74a8
test eax, eax
je 0x4a74a8
cmp word [eax], 0
je 0x4a74a8
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4a749a
mov ecx, 0x54ee24
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.004a7c30
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.004a8470
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.004a80c0
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.004a3af0
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 0x4a7585
test eax, eax
je 0x4a7585
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xd0], eax
cmp dword [esi + 0xcc], 0
mov eax, dword [esi + 0x3be8]
je 0x4a75ac
cmp dword [esi + 0xd0], 0
je 0x4a75ac
mov edx, dword [ebp - 0xc]
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], eax
push esi
call fcn.004a7cc0
push esi
call fcn.004a7d60
mov eax, dword [ebp - 8]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14