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

Disassembly:
mov eax, 0x1e18
call fcn.004fe1a0
mov eax, dword [0x5a4aa8]
xor eax, esp
mov dword [esp + 0x1e10], eax
push ebp
push esi
mov esi, ecx
test esi, esi
push edi
je 0x4b631d
push 0x200
lea eax, [esi + 0x6e28]
push 0
push eax
mov dword [esp + 0x20], eax
call fcn.004fd670
push 0x800
lea eax, [esp + 0x1628]
push 0
push eax
call fcn.004fd670
push 0x800
lea ecx, [esp + 0xe34]
push 0
push ecx
call fcn.004fd670
push 0x800
lea edx, [esp + 0x640]
push 0
push edx
call fcn.004fd670
lea edx, [esi + 0x5000]
mov eax, edx
add esp, 0x30
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b6096
sub eax, edi
sar eax, 1
push str.VERSION.VER
je 0x4b60c1
push edx
push 0x535a74
push 0x400
lea eax, [esp + 0x628]
push eax
jmp 0x4b60da
lea ecx, [esi + 0x400]
push ecx
push 0x535a74
push 0x400
lea edx, [esp + 0x628]
push edx
call fcn.004fa51d
add esp, 0x14
push esi
push 0x400
lea eax, [esp + 0xe20]
push eax
lea ecx, [esp + 0x624]
push ecx
mov ecx, dword [ebx + 0xfd64]
call fcn.00480760
test eax, eax
je 0x4b6129
push 0x3ff
lea edx, [esp + 0x61c]
push edx
lea eax, [esp + 0xe20]
push 0x400
push eax
call fcn.004fa71b
add esp, 0x10
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0xe18]
push ecx
call ebp
test eax, eax
jne 0x4b6337
push 0x800
push eax
lea edx, [esp + 0x620]
push edx
call fcn.004fd670
mov eax, dword [esi + 0x6c24]
lea edx, [eax + 0x600]
mov eax, edx
add esp, 0xc
lea edi, [eax + 2]
jmp 0x4b6170
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b6170
sub eax, edi
sar eax, 1
je 0x4b6196
push 0x3ff
push edx
push 0x400
lea eax, [esp + 0x624]
push eax
jmp 0x4b61fa
mov edx, dword [esi + 0x6c20]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b61a1
sub eax, edi
sar eax, 1
je 0x4b61c7
push 0x3ff
push edx
push 0x400
lea ecx, [esp + 0x624]
push ecx
jmp 0x4b61fa
add edx, 0x800
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b61d2
sub eax, edi
sar eax, 1
je 0x4b631d
push 0x3ff
push edx
push 0x400
lea edx, [esp + 0x624]
push edx
call fcn.004fa71b
lea eax, [esp + 0x628]
add esp, 0x10
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b6210
sub eax, edx
sar eax, 1
je 0x4b631d
push esi
push 0x400
lea eax, [esp + 0x1620]
push eax
lea ecx, [esp + 0x624]
push ecx
mov ecx, dword [ebx + 0xfd64]
call fcn.00480760
test eax, eax
je 0x4b626c
push 0x3ff
lea edx, [esp + 0x61c]
push edx
lea eax, [esp + 0x1620]
push 0x400
push eax
call fcn.004fa71b
add esp, 0x10
lea ecx, [esp + 0x1618]
push 0x5c
push ecx
call fcn.004fa6eb
add esp, 8
test eax, eax
je 0x4b6287
mov word [eax], 0
push str.VERSION.VER
lea edx, [esi + 0x400]
push edx
push 0x535a74
lea eax, [esp + 0x624]
push 0x400
push eax
call fcn.004fa51d
add esp, 0x14
push esi
push 0x400
lea ecx, [esp + 0xe20]
push ecx
mov ecx, dword [ebx + 0xfd64]
lea edx, [esp + 0x624]
push edx
call fcn.00480760
test eax, eax
je 0x4b62f4
push 0x3ff
lea eax, [esp + 0x61c]
push eax
lea ecx, [esp + 0xe20]
push 0x400
push ecx
call fcn.004fa71b
add esp, 0x10
lea edx, [esp + 0xe18]
push edx
call ebp
test eax, eax
jne 0x4b6337
lea eax, [esp + 0xe18]
push eax
push esi
push str.__s__Version_file_was_not_found_under_source_directory___s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1e10]
xor ecx, esp
call fcn.004fa103
add esp, 0x1e18
ret
push 0x200
lea ecx, [esp + 0x21c]
push 0
push ecx
call fcn.004fd670
push 0x200
lea edx, [esp + 0x428]
push 0
push edx
call fcn.004fd670
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x18
lea eax, [esp + 0xe18]
push eax
push pe_nt_image_headers32
lea ecx, [esp + 0x220]
push ecx
push 0x535a4c
push str.CORE
push str.Version
call esi
test eax, eax
jne 0x4b63c6
lea edx, [esp + 0xe18]
push edx
push str.Getting_Core_version_from_version_file___s__was_failed__
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1e10]
xor ecx, esp
call fcn.004fa103
add esp, 0x1e18
ret
lea eax, [esp + 0xe18]
push eax
push pe_nt_image_headers32
lea ecx, [esp + 0x420]
push ecx
push 0x535a4c
push str.SCRIPT
push str.Version
call esi
test eax, eax
jne 0x4b641e
lea edx, [esp + 0xe18]
push edx
push str.Getting_Scrip_version_from_version_file___s__was_failed__
mov ecx, 0x649e50
call fcn.004918f0
push 0x200
lea eax, [esp + 0x424]
push 0
push eax
call fcn.004fd670
add esp, 0x14
push 0x200
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.004fd670
lea edx, [esp + 0x224]
push pe_nt_image_headers32
push edx
call fcn.004fab8f
lea eax, [esp + 0x22c]
push 0x56fa94
push eax
call fcn.004fa7e4
add esp, 0x1c
test eax, eax
je 0x4b645f
add eax, 4
jmp 0x4b6492
lea edx, [esp + 0x218]
push edx
push str.Invalid_Version_String:__V_wasnt_found_in__s
mov ecx, 0x649e50
call fcn.004918f0
lea eax, [esp + 0x220]
push 0x56fafc
push eax
call fcn.004fa7e4
add esp, 0x10
test eax, eax
je 0x4b64aa
add eax, 2
push 0xff
push eax
lea ecx, [esp + 0x20]
push pe_nt_image_headers32
push ecx
call fcn.004fa71b
add esp, 0x10
lea edx, [esp + 0x418]
push pe_nt_image_headers32
push edx
call fcn.004fab8f
lea eax, [esp + 0x420]
push 0x56fa94
push eax
call fcn.004fa7e4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b650b
push 0xff
push 0x546bec
lea ecx, [esp + 0x20]
push pe_nt_image_headers32
push ecx
call fcn.004fa558
push 0xff
add esi, 4
push esi
lea edx, [esp + 0x30]
push pe_nt_image_headers32
push edx
call fcn.004fa558
add esp, 0x20
mov ecx, dword [esp + 0x14]
push 0xff
lea eax, [esp + 0x1c]
push eax
push pe_nt_image_headers32
push ecx
call fcn.004fa71b
mov ecx, dword [esp + 0x1e2c]
add esp, 0x10
pop edi
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.004fa103
add esp, 0x1e18
ret