Function at 0x49c870
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
lea eax, [esi + 0x4c]
push str.FuncBtn_BtnPict
call fcn.005080c0
mov eax, dword [esi + 0x4c]
xor ebx, ebx
cmp eax, ebx
jne 0x49c893
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], ebx
cmp dword [esi + 0x44], ebx
jle 0x49c8c3
cmp eax, ebx
je 0x49c8c3
cmp word [eax], bx
je 0x49c8c3
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
jne 0x49c8b6
mov ecx, 0x54ee24
push ecx
push ebx
push str.PosiX
push eax
call edi
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x49c8cf
mov ecx, 0x54ee24
mov dword [ebp - 8], ebx
cmp dword [esi + 0x44], ebx
jle 0x49c8f9
cmp ecx, ebx
je 0x49c8f9
cmp word [ecx], bx
je 0x49c8f9
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x49c8ec
mov eax, 0x54ee24
push eax
push ebx
push str.PosiY
push ecx
call edi
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x49c905
mov ecx, 0x54ee24
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x44], ebx
jle 0x49c92f
cmp ecx, ebx
je 0x49c92f
cmp word [ecx], bx
je 0x49c92f
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x49c922
mov eax, 0x54ee24
push eax
push ebx
push str.Width
push ecx
call edi
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
jne 0x49c93b
mov ecx, 0x54ee24
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x44], ebx
jle 0x49c965
cmp ecx, ebx
je 0x49c965
cmp word [ecx], bx
je 0x49c965
mov eax, dword [esi + 0x40]
cmp eax, ebx
jne 0x49c958
mov eax, 0x54ee24
push eax
push ebx
push str.Height
push ecx
call edi
mov dword [ebp - 0x10], eax
mov eax, dword [0x577698]
cmp eax, ebx
je 0x49c99f
push 0x80
push 0
push 0
push 0
push 0xc869
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x49c996
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x49c9a9
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x49c9e6
push 0x80
push 0
push 0
push 0
push 0xc86a
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x49c9dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x49c9f0
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], 0
test eax, eax
je 0x49ca2d
push 0x80
push 0
push 0
push 0
push 0xc86b
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x49ca23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x49ca37
mov dword [0x57768c], 0x57
xor edi, edi
test eax, eax
je 0x49ca69
push 0x80
push edi
push edi
push edi
push 0xc89a
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x49ca62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x49ca73
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x49caa4
push 0x80
push ecx
push ecx
push ecx
push 0xc89b
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x49ca9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x49caae
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x250], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x254], edx
mov edx, dword [ebp - 8]
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x29c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x2a0], edx
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov dword [esi + 0x2a4], edx
mov dword [esi + 0x2a8], eax
mov dword [esi + 0x2ac], ebx
mov dword [esi + 0x2b0], ebx
mov dword [esi + 0x2b4], edx
mov dword [esi + 0x2b8], eax
mov word [esi + 0x239], 0x101
mov dword [esi + 0x258], edi
mov dword [esi + 0x25c], ecx
mov eax, dword [0x577698]
xor edi, edi
cmp eax, ebx
je 0x49cb56
push 0x80
push edi
push edi
push edi
push 0xc86f
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x49cb4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x49cb60
mov dword [0x57768c], 0x57
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x49cb99
push 0x80
push 0
push 0
push 0
push 0xc870
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x49cb8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], ebx
jmp 0x49cba3
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x49cbe0
push 0x80
push 0
push 0
push 0
push 0xc871
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x49cbd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], ebx
jmp 0x49cbea
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x49cc1c
push 0x80
push ebx
push ebx
push ebx
push 0xc89c
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
jne 0x49cc15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
jmp 0x49cc26
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x49cc57
push 0x80
push ecx
push ecx
push ecx
push 0xc89d
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x49cc52
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, dword [ebp - 0x1c]
jmp 0x49cc61
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x4fc], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x500], edx
mov edx, dword [ebp - 8]
mov dword [esi + 0x548], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x4f4], edi
mov dword [esi + 0x4f8], edi
mov dword [esi + 0x54c], edx
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x554], eax
mov dword [esi + 0x564], eax
xor edi, edi
mov dword [esi + 0x550], edx
mov dword [esi + 0x558], edi
mov dword [esi + 0x55c], edi
mov dword [esi + 0x560], edx
mov word [esi + 0x4e5], 0x101
push str.PhotoEditorPage_BackBtnPict
lea eax, [esi + 0x4c]
mov dword [esi + 0x504], ebx
mov dword [esi + 0x508], ecx
call fcn.005080c0
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x49cceb
mov eax, 0x54ee24
xor edi, edi
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x44], edi
jle 0x49cd1f
cmp eax, edi
je 0x49cd1f
cmp word [eax], di
je 0x49cd1f
mov ecx, dword [esi + 0x40]
cmp ecx, edi
jne 0x49cd0a
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push edi
push str.PosiX
push eax
call ebx
mov dword [ebp - 0xc], eax
jmp 0x49cd25
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x49cd31
mov ecx, 0x54ee24
mov dword [ebp - 8], edi
cmp dword [esi + 0x44], edi
jle 0x49cd5b
cmp ecx, edi
je 0x49cd5b
cmp word [ecx], di
je 0x49cd5b
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49cd4e
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x49cd67
mov ecx, 0x54ee24
mov dword [ebp - 4], edi
cmp dword [esi + 0x44], edi
jle 0x49cd91
cmp ecx, edi
je 0x49cd91
cmp word [ecx], di
je 0x49cd91
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49cd84
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call ebx
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
jne 0x49cd9d
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], edi
cmp dword [esi + 0x44], edi
jle 0x49cdc7
cmp ecx, edi
je 0x49cdc7
cmp word [ecx], di
je 0x49cdc7
mov eax, dword [esi + 0x40]
cmp eax, edi
jne 0x49cdba
mov eax, 0x54ee24
push eax
push edi
push str.Height
push ecx
call ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [0x577698]
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x18], edi
cmp eax, edi
je 0x49ce07
push 0x80
push 0
push 0
push 0
push 0xc88d
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x49cdfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x18], edi
jmp 0x49ce11
mov dword [0x57768c], 0x57
mov dword [ebp - 0x14], 0
test eax, eax
je 0x49ce4a
push 0x80
push 0
push 0
push 0
push 0xc88e
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x49ce40
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x14], edi
jmp 0x49ce54
mov dword [0x57768c], 0x57
mov dword [ebp - 0x10], 0
test eax, eax
je 0x49ce8d
push 0x80
push 0
push 0
push 0
push 0xc88f
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x49ce83
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x10], edi
jmp 0x49ce97
mov dword [0x57768c], 0x57
xor ebx, ebx
test eax, eax
je 0x49cecb
push 0x80
push ebx
push ebx
push ebx
push 0xc894
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x49cec2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x49ced5
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x49cf04
push 0x80
push ecx
push ecx
push ecx
push 0xc895
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x49cf00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, edi
jmp 0x49cf0e
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [esi + 0x7a0], eax
mov dword [esi + 0x7a4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x7a8], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x7ac], edx
mov edx, dword [ebp - 8]
mov dword [esi + 0x7f4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x7f8], edx
mov edx, dword [ebp - 4]
xor edi, edi
mov dword [esi + 0x804], edi
mov dword [esi + 0x808], edi
mov dword [esi + 0x7fc], edx
mov dword [esi + 0x800], eax
mov dword [esi + 0x80c], edx
mov dword [esi + 0x810], eax
mov word [esi + 0x791], 0x101
pop edi
mov dword [esi + 0x7b0], ebx
mov dword [esi + 0x7b4], ecx
pop ebx
mov esp, ebp
pop ebp
ret