Function at 0x4cf6f7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558a60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1f8
call fcn.0044f310
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x4cf8bb
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x60]
jge 0x4cf8bb
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1f4]
add eax, 2
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
lea eax, [edx + ecx*4 + 0x64]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00483f00
and eax, 0xff
test eax, eax
je 0x4cf8aa
push 0xff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx*4 + 0x64]
call fcn.0040f0c0
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1f4]
add edx, 2
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_3
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0x3e8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx + eax*4 + 0x64]
call fcn.0040f0c0
push eax
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push str.NULL
push str.LANGUAGE
push 0x5ab94c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push 0x5ab958
push 0x5ab95c
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::Replace
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x28]
and ecx, 0xffff
and ecx, 0x3ff
mov byte [ebp - 0x24], cl
mov edx, dword [ebp - 0x28]
and edx, 0xffff
sar edx, 0xa
mov byte [ebp - 0x1c], dl
push str.CHINESE_SIMPLIFIED
lea eax, [ebp - 0x18]
push eax
call fcn.0043ded0
and eax, 0xff
test eax, eax
je 0x4cf858
mov byte [ebp - 0x24], 4
mov byte [ebp - 0x1c], 2
jmp 0x4cf881
push str.CHINESE_TRADITIONAL
lea ecx, [ebp - 0x18]
push ecx
call fcn.0043ded0
and eax, 0xff
test eax, eax
je 0x4cf879
mov byte [ebp - 0x24], 4
mov byte [ebp - 0x1c], 1
jmp 0x4cf881
mov byte [ebp - 0x24], 9
mov byte [ebp - 0x1c], 1
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1f4]
mov cl, byte [ebp - 0x24]
mov byte [eax], cl
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1f4]
mov cl, byte [ebp - 0x1c]
mov byte [eax + 1], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
jmp 0x4cf8fa
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x60]
jl 0x4cf8fa
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1f4]
mov byte [edx], 9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1f4]
mov byte [ecx + 1], 1
push str.DEFENGLISH
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1f4]
add eax, 2
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret