Function at 0x49bf70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52da48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ebx, [esi + 0x3c]
push ebx
mov ecx, 0x53b7a8
call fcn.00466b30
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0049c430
mov edx, dword [ebp + 0x1c]
push edx
push edi
call fcn.0049ca90
push edi
call fcn.0049d080
lea eax, [esi + 0x4c]
push str.FuncBtn_BtnWnd
call fcn.004fcf00
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x49bfe5
mov eax, 0x538640
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebx + 8], esi
jle 0x49c015
cmp eax, esi
je 0x49c015
cmp word [eax], si
je 0x49c015
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x49c004
mov ecx, 0x538640
push ecx
push esi
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
jne 0x49c021
mov ecx, 0x538640
xor edi, edi
cmp dword [ebx + 8], esi
jle 0x49c04d
cmp ecx, esi
je 0x49c04d
cmp word [ecx], si
je 0x49c04d
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x49c03d
mov eax, 0x538640
push eax
push esi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
jne 0x49c059
mov ecx, 0x538640
mov dword [ebp - 0x10], esi
cmp dword [ebx + 8], esi
jle 0x49c087
cmp ecx, esi
je 0x49c087
cmp word [ecx], si
je 0x49c087
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x49c076
mov eax, 0x538640
push eax
push esi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, esi
jne 0x49c093
mov ecx, 0x538640
xor esi, esi
cmp dword [ebx + 8], esi
jle 0x49c0c2
test ecx, ecx
je 0x49c0c2
cmp word [ecx], si
je 0x49c0c2
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x49c0b1
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push 0x2ef9
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x55a400
call fcn.00467b90
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x234], ecx
cmp eax, ecx
jne 0x49c0ef
mov eax, 0x538640
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x10]
push esi
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17cb
push eax
add ecx, 0x74
mov eax, 0x10000000
call fcn.00433520
push 0x2efa
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x55a400
add edi, esi
call fcn.00467b90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004fce50
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x49c14e
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0x4e0], ebx
cmp eax, ebx
jne 0x49c163
mov eax, 0x538640
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push esi
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x17cc
push eax
add ecx, 0x320
mov eax, 0x10000000
call fcn.00433520
cmp byte [ebp + 0x18], 0
je 0x49c288
push 0x2eff
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x55a400
add edi, esi
call fcn.00467b90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49c1cd
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0x78c], 0
test eax, eax
jne 0x49c1e6
mov eax, 0x538640
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x10]
push esi
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17ce
push eax
add ecx, 0x5cc
mov eax, 0x10000000
call fcn.00433520
push 0x2f00
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x55a400
add edi, esi
call fcn.00467b90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004fce50
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x49c248
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0xa38], ebx
cmp eax, ebx
jne 0x49c25d
mov eax, 0x538640
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push esi
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x17cd
push eax
add ecx, 0x878
mov eax, 0x10000000
call fcn.00433520
cmp byte [ebp + 0x1c], 0
je 0x49c404
cmp byte [ebp + 0x20], 0
mov esi, dword [ebp + 8]
lea eax, [esi + 0x4c]
je 0x49c2a5
push str.PhotoFilerPage_Mini_FuncBtnWnd_CancelBtnWnd
jmp 0x49c2aa
push str.PhotoFilerPage_FuncBtnWnd_CancelBtnWnd
call fcn.004fcf00
mov ecx, dword [esi + 0x4c]
add esi, 0x3c
mov dword [ebp + 0x1c], esi
test ecx, ecx
jne 0x49c2c1
mov ecx, 0x538640
cmp dword [esi + 8], 0
mov dword [ebp + 0x20], 0
jle 0x49c2fa
test ecx, ecx
je 0x49c2fa
cmp word [ecx], 0
je 0x49c2fa
mov eax, dword [esi + 4]
test eax, eax
jne 0x49c2e4
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 + 0x20], eax
jmp 0x49c300
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x49c30c
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 8], edi
jle 0x49c335
test ecx, ecx
je 0x49c335
cmp word [ecx], di
je 0x49c335
mov eax, dword [esi + 4]
test eax, eax
jne 0x49c328
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x49c341
mov ecx, 0x538640
mov eax, dword [ebp + 0x1c]
xor esi, esi
cmp dword [eax + 8], esi
jle 0x49c36d
test ecx, ecx
je 0x49c36d
cmp word [ecx], si
je 0x49c36d
mov eax, dword [eax + 4]
test eax, eax
jne 0x49c360
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call ebx
mov esi, eax
mov ebx, dword [ebp + 0x14]
push 0x80ed
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x55a400
sub ebx, esi
call fcn.00467b90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.004fce50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49c3b0
push eax
call fcn.005134a7
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx + 0xce4], 0
test eax, eax
jne 0x49c3c9
mov eax, 0x538640
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
push esi
push edi
push ebx
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push 0
push eax
push 0x17f5
push edx
add ecx, 0xb24
mov eax, 0x10000000
call fcn.00433520
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0xdf4], ecx
mov dword [eax + 0xdf8], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x49c41b
push eax
call fcn.005134a7
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 0x1c