Function at 0x4e8fc4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x24]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [edi], edx
mov dword [esi], edx
push 0x4fdcc3
push ebx
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4e9027
push 0x4f7dec
push 0x3e7
push 0x515718
push 0x4fdce6
push 0x4fdcdc
push 0x4fdcd3
call sub.KERNEL32.dll_GetPrivateProfileStringA
jmp 0x4e9065
push 0x20
push ebx
call fcn.00401278
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4e9040
inc dword [ebp - 4]
jmp 0x4e9043
mov dword [ebp - 4], ebx
push 0x4f7dec
push 0x3e7
push 0x515718
push 0x4fdcf3
mov eax, dword [ebp - 4]
push eax
push 0x4fdcea
call sub.KERNEL32.dll_GetPrivateProfileStringA
cmp byte [0x515718], 0
jne 0x4e9087
push esi
push edi
mov esi, 0x4fdcf7
mov edi, 0x515718
mov eax, edi
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov dword [ebp - 4], 0x515718
push 0x515718
call fcn.00401318
pop ecx
mov ebx, eax
add ebx, dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4e90b7
push 0xa
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.0040ae54
add esp, 0xc
mov dword [esi], eax
cmp dword [ebp - 4], 0
je 0x4e90e1
cmp ebx, dword [ebp - 4]
jbe 0x4e90e1
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4e90e1
push 0xa
lea ecx, [ebp - 4]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.0040ae54
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
cmp dword [ebp - 4], 0
je 0x4e9108
cmp ebx, dword [ebp - 4]
jbe 0x4e9108
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4e9108
push 0xa
lea ecx, [ebp - 4]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.0040ae54
add esp, 0xc
mov dword [edi], eax
cmp dword [ebp - 4], 0
je 0x4e9132
cmp ebx, dword [ebp - 4]
jbe 0x4e9132
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4e9132
push 0xa
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ae54
add esp, 0xc
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
cmp dword [ebp - 4], 0
je 0x4e915c
cmp ebx, dword [ebp - 4]
jbe 0x4e915c
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4e915c
push 0xa
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ae54
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
cmp dword [ebp - 4], 0
je 0x4e9186
cmp ebx, dword [ebp - 4]
jbe 0x4e9186
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4e9186
push 0xa
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ae54
add esp, 0xc
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
cmp dword [ebp - 4], 0
je 0x4e91b0
cmp ebx, dword [ebp - 4]
jbe 0x4e91b0
inc dword [ebp - 4]
cmp ebx, dword [ebp - 4]
jbe 0x4e91b0
push 0xa
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ae54
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
cmp dword [esi], 0
jne 0x4e91ce
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jne 0x4e91ce
cmp dword [edi], 0
jne 0x4e91ce
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0
jne 0x4e91ce
xor eax, eax
jmp 0x4e9228
mov edx, dword [ebp + 0x20]
cmp dword [edx], 1
jne 0x4e91f0
cmp dword [0x4fd9f0], 0
je 0x4e91f0
lea ecx, [ebp - 0x14]
push ecx
mov eax, dword [0x4fd9f0]
push eax
call sub.USER32.dll_GetClientRect
jmp 0x4e91f9
lea edx, [ebp - 0x14]
push edx
call fcn.004eb300
mov eax, dword [esi]
cmp eax, 0xfffffff6
jl 0x4e920a
mov edx, dword [ebp - 0xc]
add edx, 0xfffffff6
cmp eax, edx
jl 0x4e920e
xor ecx, ecx
mov dword [esi], ecx
mov eax, dword [edi]
cmp eax, 0xfffffff6
jl 0x4e921f
mov edx, dword [ebp - 8]
add edx, 0xfffffff6
cmp eax, edx
jl 0x4e9223
xor ecx, ecx
mov dword [edi], ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20