Function at 0x404e50
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x406218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x224], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x224], 2
call sub.MFC42u.DLL_CString::CString
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x14e4]
mov byte [esp + 0x224], 3
cmp eax, 0x10
ja case.default.0x404ec9
jmp dword [eax*4 + 0x405138]
lea eax, [esp + 8]
push str.EN_US
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea ecx, [esp + 8]
push str.ZH_CN
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea edx, [esp + 8]
push str.RU_RU
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea eax, [esp + 8]
push str.NL_NL
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea ecx, [esp + 8]
push str.TH_TH
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea edx, [esp + 8]
push str.PT_PT
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea eax, [esp + 8]
push str.PL_PL
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea ecx, [esp + 8]
push str.ES_ES
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea edx, [esp + 8]
push str.IT_IT
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea eax, [esp + 8]
push str.ID_ID
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea ecx, [esp + 8]
push str.FA_IR
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea edx, [esp + 8]
push str.TR_TR
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea eax, [esp + 8]
push str.KO_KR
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea ecx, [esp + 8]
push str.JA_JP
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea edx, [esp + 8]
push str.DE_DE
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea eax, [esp + 8]
push str.FR_FR
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea ecx, [esp + 8]
push str.VI_VN
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 8
jmp 0x405056
lea edx, [esp + 0x230]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42u.DLL_CString::operator
mov eax, dword [esp + 0x234]
add esi, 0x10d4
push esi
push 0x104
test eax, eax
je 0x405089
mov ecx, dword [esp + 0x238]
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
push str.LANGUAGE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x4050b5
mov edx, dword [esp + 0x238]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x4050cc
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push 0x4090b4
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov esi, dword [esp + 0x22c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x224], 2
call fcn.004052d8
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 1
call fcn.004052d8
lea ecx, [esp + 0x230]
mov byte [esp + 0x224], 0
call fcn.004052d8
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x220
ret 0xc