Function at 0x4a5c60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5381f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x4c]
push str.FuncBtn_BtnText
call fcn.005080c0
mov eax, dword [esi + 0x4c]
xor edi, edi
cmp eax, edi
jne 0x4a5ca5
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x4a5cd5
cmp eax, edi
je 0x4a5cd5
cmp word [eax], di
je 0x4a5cd5
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x4a5cc8
mov ecx, 0x54ee24
push ecx
push edi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a5ce1
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x44], edi
jle 0x4a5d0b
cmp ecx, edi
je 0x4a5d0b
cmp word [ecx], di
je 0x4a5d0b
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a5cfe
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a5d17
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4a5d41
cmp ecx, edi
je 0x4a5d41
cmp word [ecx], di
je 0x4a5d41
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a5d34
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a5d4d
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x4a5d77
cmp ecx, edi
je 0x4a5d77
cmp word [ecx], di
je 0x4a5d77
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a5d6a
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x1c], eax
push 0x2af8
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
cmp eax, edi
jne 0x4a5d9e
mov dword [ebp - 0x34], 0x54ee24
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a5daa
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4a5dd0
cmp ecx, edi
je 0x4a5dd0
cmp word [ecx], di
je 0x4a5dd0
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a5dc4
mov eax, 0x54ee24
push eax
push edi
push str.FontPoint
push ecx
call ebx
mov edi, eax
push 0x2ef9
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4a5df7
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x114]
mov byte [esi + 0x238], bl
call fcn.005080c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0x100], eax
mov eax, dword [ebp - 0x34]
push edi
mov dword [esi + 0x104], ecx
mov dword [esi + 0xfc], edx
mov edx, dword [ebp - 0x1c]
push eax
lea ecx, [esi + 0xec]
mov dword [esi + 0x10c], ebx
mov ebx, dword [ebp + 8]
push ecx
mov dword [esi + 0x108], edx
mov dword [esi + 0x110], 0x15
call fcn.00473a60
push 0x2efa
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x5776a0
mov byte [esi + 0x120], 0
mov byte [esi + 0x128], 0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00508010
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4a5e9a
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4a5ea6
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x3c0]
mov byte [esi + 0x4e4], bl
call fcn.005080c0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0x3ac], ecx
mov ecx, dword [ebp - 0x34]
push edi
mov dword [esi + 0x3b0], edx
mov dword [esi + 0x3a8], eax
mov eax, dword [ebp - 0x1c]
push ecx
lea edx, [esi + 0x398]
mov dword [esi + 0x3b8], ebx
mov ebx, dword [ebp + 8]
push edx
mov dword [esi + 0x3b4], eax
mov dword [esi + 0x3bc], 0x15
call fcn.00473a60
cmp byte [ebp + 0xc], 0
mov byte [esi + 0x3cc], 0
mov byte [esi + 0x3d4], 0
je 0x4a607a
push 0x2eff
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00508010
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4a5f53
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4a5f5f
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x66c]
mov byte [esi + 0x790], bl
call fcn.005080c0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0x658], edx
mov edx, dword [ebp - 0x34]
push edi
mov dword [esi + 0x65c], eax
mov dword [esi + 0x654], ecx
mov ecx, dword [ebp - 0x1c]
push edx
lea eax, [esi + 0x644]
mov dword [esi + 0x664], ebx
mov ebx, dword [ebp + 8]
push eax
mov dword [esi + 0x660], ecx
mov dword [esi + 0x668], 0x15
call fcn.00473a60
push 0x2f00
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x5776a0
mov byte [esi + 0x678], 0
mov byte [esi + 0x680], 0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00508010
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4a6002
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4a600e
mov eax, 0x54ee24
push eax
lea eax, [esi + 0x918]
mov byte [esi + 0xa3c], bl
call fcn.005080c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
push 0
push 0
mov dword [esi + 0x904], eax
mov eax, dword [ebp - 0x34]
push edi
mov dword [esi + 0x908], ecx
mov dword [esi + 0x900], edx
mov edx, dword [ebp - 0x1c]
push eax
lea ecx, [esi + 0x8f0]
mov dword [esi + 0x910], ebx
mov ebx, dword [ebp + 8]
push ecx
mov dword [esi + 0x90c], edx
mov dword [esi + 0x914], 0x15
call fcn.00473a60
xor al, al
mov byte [esi + 0x924], al
mov byte [esi + 0x92c], al
cmp byte [ebp + 0x10], 0
je 0x4a6267
push str.PhotoFilerPage_FuncBtnWnd_CancelBtnText
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [esi + 0x4c]
xor edi, edi
mov ecx, eax
cmp eax, edi
jne 0x4a60a1
mov ecx, 0x54ee24
mov dword [ebp + 0xc], edi
cmp dword [esi + 0x44], edi
jle 0x4a60d3
cmp ecx, edi
je 0x4a60d3
cmp word [ecx], di
je 0x4a60d3
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a60be
mov eax, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp + 0xc], eax
jmp 0x4a60d9
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a60e5
mov ecx, 0x54ee24
mov dword [ebp + 0x10], edi
cmp dword [esi + 0x44], edi
jle 0x4a610f
cmp ecx, edi
je 0x4a610f
cmp word [ecx], di
je 0x4a610f
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a6102
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp + 0x10], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a611b
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x4a6145
cmp ecx, edi
je 0x4a6145
cmp word [ecx], di
je 0x4a6145
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a6138
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a6151
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [esi + 0x44], edi
jle 0x4a617b
cmp ecx, edi
je 0x4a617b
cmp word [ecx], di
je 0x4a617b
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a616e
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x4a6187
mov ecx, 0x54ee24
cmp dword [esi + 0x44], edi
jle 0x4a61ad
cmp ecx, edi
je 0x4a61ad
cmp word [ecx], di
je 0x4a61ad
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x4a61a1
mov eax, 0x54ee24
push eax
push edi
push str.FontPoint
push ecx
call ebx
mov edi, eax
push 0x80ed
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00508010
mov ebx, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4a61ef
push eax
call fcn.0051ebab
add esp, 4
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4a61fb
mov eax, 0x54ee24
push eax
lea eax, [esi + 0xbc4]
mov byte [esi + 0xce8], bl
call fcn.005080c0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
push 0
push 0
mov dword [esi + 0xbb0], ecx
mov ecx, dword [ebp - 0x34]
push edi
mov dword [esi + 0xbb4], edx
mov dword [esi + 0xbac], eax
mov eax, dword [ebp - 0x18]
push ecx
lea edx, [esi + 0xb9c]
mov dword [esi + 0xbbc], ebx
mov ebx, dword [ebp + 8]
push edx
mov dword [esi + 0xbb8], eax
mov dword [esi + 0xbc0], 0x15
call fcn.00473a60
xor al, al
mov byte [esi + 0xbd0], al
mov byte [esi + 0xbd8], al
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
xor esi, esi
cmp eax, esi
je 0x4a6286
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, esi
je 0x4a629d
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc