Function at 0x5271a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x677660
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.TopTopHeight
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x58], eax
mov ecx, dword [ebp - 8]
add ecx, 0x1c
call fcn.0050f460
mov esi, eax
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.TopBotHeight
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
sub esi, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x5c], esi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x5c]
cmp eax, dword [edx + 0x58]
jg 0x52721d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x58]
add edx, 1
mov eax, dword [ebp - 8]
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.LeftTopHeight
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 8]
mov dword [edx + 0x60], eax
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.00522e60
mov esi, eax
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.LeftBotHeight
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
sub esi, eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x64], esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x64]
cmp ecx, dword [eax + 0x60]
jg 0x527289
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x60]
add eax, 1
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x64], eax
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.RightTopHeight
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x68], eax
mov ecx, dword [ebp - 8]
add ecx, 0x2c
call fcn.00522e60
mov esi, eax
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.RightBotHeight
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
sub esi, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x6c], esi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x6c]
cmp eax, dword [edx + 0x68]
jg 0x5272f5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x68]
add edx, 1
mov eax, dword [ebp - 8]
mov dword [eax + 0x6c], edx
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.BottomTopHeight
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 8]
mov dword [edx + 0x70], eax
mov ecx, dword [ebp - 8]
add ecx, 0x34
call fcn.0050f460
mov esi, eax
mov ecx, dword [ebp + 8]
call fcn.00587e90
push eax
push 0
push str.BottomBotHeight
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
sub esi, eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x74], esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x74]
cmp ecx, dword [eax + 0x70]
jg 0x527361
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x70]
add eax, 1
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x74], eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4