Function at 0x4a7200
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, 0x554c48
mov byte [esi + 0x3c04], al
call fcn.00470260
cmp byte [ebp + 0x18], 0
lea eax, [esi + 0x4c]
je 0x4a723a
push str.PhotoFilerPage_Mini_Wnd_HLineBottom
jmp 0x4a723f
push str.PhotoFilerPage_Wnd_HLineBottom
call fcn.005080c0
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4a7252
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4a727d
test ecx, ecx
je 0x4a727d
cmp word [ecx], ax
je 0x4a727d
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a726e
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 0x4a7291
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4a72bc
test ecx, ecx
je 0x4a72bc
cmp word [ecx], ax
je 0x4a72bc
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a72ad
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 0x4a72d0
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4a72fb
test ecx, ecx
je 0x4a72fb
cmp word [ecx], ax
je 0x4a72fb
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a72ec
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.0051bbf0
mov dword [ebp - 8], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test eax, eax
je 0x4a754b
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
lea eax, [esi + 0x4c]
je 0x4a7357
push str.PhotoFilerPage_Mini_PanelWnd
jmp 0x4a735c
push str.PhotoFilerPage_PanelWnd
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4a736d
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 4], 0
jle 0x4a73a6
test ecx, ecx
je 0x4a73a6
cmp word [ecx], 0
je 0x4a73a6
mov eax, dword [edi + 4]
test eax, eax
jne 0x4a7390
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 0x4a73ac
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 0x4a73c1
mov eax, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp + 0xc], 0
jle 0x4a73f2
test eax, eax
je 0x4a73f2
cmp word [eax], 0
je 0x4a73f2
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4a73e4
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 0x4a7407
mov eax, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0xc], 0
jle 0x4a7438
test eax, eax
je 0x4a7438
cmp word [eax], 0
je 0x4a7438
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4a742a
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.004a7bc0
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.004a8400
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.004a8050
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.004a3a80
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 0x4a7515
test eax, eax
je 0x4a7515
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xd0], eax
cmp dword [esi + 0xcc], 0
mov eax, dword [esi + 0x3be8]
je 0x4a753c
cmp dword [esi + 0xd0], 0
je 0x4a753c
mov edx, dword [ebp - 0xc]
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], eax
push esi
call fcn.004a7c50
push esi
call fcn.004a7cf0
mov eax, dword [ebp - 8]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14