Function at 0x40632f
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x44c198
call fcn.0044b2e0
sub esp, 0x298
mov eax, dword [0x464b24]
xor eax, ebp
push esi
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2a4]
push eax
call fcn.00424453
pop ecx
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.LiveUpdateLanguage_
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00406060
add esp, 0xc
mov byte [ebp - 4], 2
call sym.ThunderLiveUD.exe_XLI18N_Initialize
test eax, eax
je 0x4063b7
xor esi, esi
jmp 0x4064ac
mov eax, dword [ebp - 0x24c]
push 8
pop esi
cmp dword [ebp - 0x238], esi
jae 0x4063ce
lea eax, [ebp - 0x24c]
push eax
call sym.ThunderLiveUD.exe_XLI18N_ScanLanguage
test eax, eax
pop ecx
jne 0x4063b0
push str.zh_CN
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push str.Language.ini
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x26c]
push eax
mov byte [ebp - 4], 3
call fcn.00406060
add esp, 0xc
cmp dword [ebp - 0x254], esi
mov ecx, dword [ebp - 0x268]
mov byte [ebp - 4], 4
jae 0x406421
lea ecx, [ebp - 0x268]
cmp dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x230]
jae 0x406435
lea eax, [ebp - 0x230]
push ecx
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.ActiveLanguage
push 0x451da4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40646a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x230]
jae 0x40647e
lea eax, [ebp - 0x230]
push eax
call sym.ThunderLiveUD.exe_XLI18N_ActiveLanguage
xor esi, esi
test eax, eax
pop ecx
jne 0x40648c
inc esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044b2c4
leave
ret