Function at 0x4eea60
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1074
call fcn.004f78e0
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1074], ecx
xor eax, eax
mov word [ebp - 0x1008], ax
push 0xffe
push 0
lea ecx, [ebp - 0x1006]
push ecx
call fcn.004f7580
add esp, 0xc
lea edx, [ebp - 0x1010]
push edx
call fcn.00496750
add esp, 4
lea ecx, [ebp - 0x1010]
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4eeae1
mov dword [ebp - 0x103c], 0
lea ecx, [ebp - 0x1010]
call fcn.0041d100
mov eax, dword [ebp - 0x103c]
jmp 0x4eed0b
xor eax, eax
mov dword [ebp - 0x1038], eax
mov dword [ebp - 0x1034], eax
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x102c], eax
mov dword [ebp - 0x1028], eax
mov dword [ebp - 0x1024], eax
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x101c], eax
mov dword [ebp - 0x1018], eax
lea ecx, [ebp - 0x1038]
push ecx
push 0
lea ecx, [ebp - 0x1010]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x4eeb58
mov dword [ebp - 0x1040], 0
lea ecx, [ebp - 0x1010]
call fcn.0041d100
mov eax, dword [ebp - 0x1040]
jmp 0x4eed0b
cmp dword [ebp - 0x1018], 4
jb 0x4eeb6a
cmp dword [ebp - 0x101c], 0
jbe 0x4eeb8a
mov dword [ebp - 0x1044], 0
lea ecx, [ebp - 0x1010]
call fcn.0041d100
mov eax, dword [ebp - 0x1044]
jmp 0x4eed0b
mov eax, dword [ebp - 0x1018]
xor edx, edx
mov ecx, 3
div ecx
mov dword [ebp - 4], eax
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f5e5a
add esp, 4
mov dword [ebp - 0x1048], eax
mov eax, dword [ebp - 0x1048]
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x1014]
push edx
call fcn.004f7580
add esp, 0xc
lea ecx, [ebp - 0x1010]
call fcn.0041d2b0
push eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1014]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [ebp - 0x100c], eax
mov edx, dword [ebp - 4]
sub edx, 2
cmp dword [ebp - 0x100c], edx
jne 0x4eec85
mov eax, dword [ebp - 0x1014]
mov dword [ebp - 0x104c], eax
mov ecx, dword [ebp - 0x104c]
push ecx
call fcn.004f7a71
add esp, 4
mov edx, dword [ebp - 0x1018]
mov dword [ebp - 4], edx
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f5e5a
add esp, 4
mov dword [ebp - 0x1050], eax
mov eax, dword [ebp - 0x1050]
mov dword [ebp - 0x1014], eax
lea ecx, [ebp - 0x1010]
call fcn.0041d2b0
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1014]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [ebp - 0x100c], eax
mov eax, dword [ebp - 4]
sub eax, 2
cmp dword [ebp - 0x100c], eax
je 0x4eecc9
push 0
mov ecx, dword [ebp - 0x100c]
push ecx
mov edx, dword [ebp - 0x1014]
push edx
lea eax, [ebp - 0x1068]
push eax
mov ecx, dword [ebp - 0x1074]
call fcn.004ee9c0
push eax
mov ecx, dword [ebp + 8]
call fcn.00487ae0
lea ecx, [ebp - 0x1068]
call fcn.00487ac0
mov ecx, dword [ebp - 0x1014]
mov dword [ebp - 0x106c], ecx
mov edx, dword [ebp - 0x106c]
push edx
call fcn.004f7a71
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.00487cc0
xor ecx, ecx
cmp ecx, eax
sbb edx, edx
neg edx
mov dword [ebp - 0x1070], edx
lea ecx, [ebp - 0x1010]
call fcn.0041d100
mov eax, dword [ebp - 0x1070]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret 4