Function at 0x4bdf40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ed38
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 ebx, dword [ebp + 8]
lea edi, [ebx + 0x3c]
push edi
mov ecx, 0x53b7a8
call fcn.00466b30
mov eax, dword [ebp + 0x10]
push eax
mov esi, ebx
call fcn.004be310
call fcn.004be820
call fcn.004bee00
push str.FuncBtn_BtnWnd
lea eax, [ebx + 0x4c]
call fcn.004fcf00
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4bdfa7
mov eax, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x14], 0
jle 0x4bdfe0
test eax, eax
je 0x4bdfe0
cmp word [eax], 0
je 0x4bdfe0
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x4bdfca
mov ecx, 0x538640
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0
push str.PosiX
push eax
call esi
mov dword [ebp - 0x14], eax
jmp 0x4bdfe6
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4bdff2
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x18], 0
jle 0x4be023
test ecx, ecx
je 0x4be023
cmp word [ecx], 0
je 0x4be023
mov eax, dword [edi + 4]
test eax, eax
jne 0x4be015
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call esi
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4be02f
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x10], 0
jle 0x4be060
test ecx, ecx
je 0x4be060
cmp word [ecx], 0
je 0x4be060
mov eax, dword [edi + 4]
test eax, eax
jne 0x4be052
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call esi
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4be06c
mov ecx, 0x538640
xor esi, esi
cmp dword [edi + 8], esi
jle 0x4be09b
test ecx, ecx
je 0x4be09b
cmp word [ecx], si
je 0x4be09b
mov edi, dword [edi + 4]
mov eax, edi
test edi, edi
jne 0x4be08a
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
push 0x2efb
lea edx, [ebp - 0x24]
mov dword [ebx + 0xdfc], ecx
push edx
mov ecx, 0x55a400
mov dword [ebx + 0xdf8], edi
mov dword [ebx + 0xe00], esi
call fcn.00467b90
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x254], ecx
cmp eax, ecx
jne 0x4be0dd
mov eax, 0x538640
mov edx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x18]
push edx
push edi
push ecx
push eax
mov eax, dword [ebp + 0xc]
push 0x17cf
push eax
lea ecx, [ebx + 0x94]
mov ebx, dword [ebp + 0x10]
mov eax, 0x10000000
call fcn.00433520
mov ecx, dword [ebp - 0x18]
push 0x2ef9
lea edx, [ebp - 0x30]
lea edi, [esi + ecx]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004fce50
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4be13f
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x500], ebx
cmp eax, ebx
jne 0x4be154
mov eax, 0x538640
mov edx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x14]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x17cb
push eax
add ecx, 0x340
mov eax, 0x10000000
call fcn.00433520
push 0x2f00
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x55a400
add edi, esi
call fcn.00467b90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004fce50
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4be1b2
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x7ac], ebx
cmp eax, ebx
jne 0x4be1c7
mov eax, 0x538640
mov edx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x14]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x17cd
push eax
add ecx, 0x5ec
mov eax, 0x10000000
call fcn.00433520
push 0x2eff
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x55a400
add edi, esi
call fcn.00467b90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004fce50
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4be225
push eax
call fcn.005134a7
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xa58], ebx
cmp eax, ebx
jne 0x4be23a
mov eax, 0x538640
mov edx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x14]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x17ce
push eax
add ecx, 0x898
mov eax, 0x10000000
call fcn.00433520
push 0x2ee2
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x55a400
add edi, esi
call fcn.00467b90
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004fce50
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4be2a1
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd04], ebx
cmp eax, ebx
jne 0x4be2b6
mov eax, 0x538640
mov edx, dword [ebp - 0x10]
push esi
push edx
mov edx, dword [ebp - 0x14]
push edi
push edx
push ebx
mov ebx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x1786
push eax
add ecx, 0xb44
mov eax, 0x10000000
call fcn.00433520
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4be2f5
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 0xc