Function at 0x4cdaa7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5564b0
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.0044eb00
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x4cdc6b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x60]
jge 0x4cdc6b
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.004822c0
and eax, 0xff
test eax, eax
je 0x4cdc5a
push 0xff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx*4 + 0x64]
call fcn.0040e8b0
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.0040e8b0
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 0x5a8460
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push 0x5a846c
push 0x5a8470
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.0043d6b0
and eax, 0xff
test eax, eax
je 0x4cdc08
mov byte [ebp - 0x24], 4
mov byte [ebp - 0x1c], 2
jmp 0x4cdc31
push str.CHINESE_TRADITIONAL
lea ecx, [ebp - 0x18]
push ecx
call fcn.0043d6b0
and eax, 0xff
test eax, eax
je 0x4cdc29
mov byte [ebp - 0x24], 4
mov byte [ebp - 0x1c], 1
jmp 0x4cdc31
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 0x4cdcaa
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x60]
jl 0x4cdcaa
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