Function at 0x4f6940
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5cc378
push eax
mov eax, dword [0x664818]
mov dword fs:[0], esp
sub esp, 0x18
test eax, eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x4f6976
push eax
call esi
mov dword [0x664818], 0
mov eax, dword [0x664740]
test eax, eax
jne 0x4f698f
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0xffff
mov dword [0x664740], eax
cmp eax, 0x409
je 0x4f6b99
cmp eax, 1
jle 0x4f6b99
mov ecx, dword [0x639698]
mov dword [esp + 8], ecx
sub esp, 0xc
mov ecx, dword [0x664748]
mov edx, esp
mov dword [esp + 0x34], 0
push 0x625a90
mov dword [edx], eax
mov eax, dword [0x664744]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
lea edx, [esp + 0x18]
push edx
call fcn.0058aded
add esp, 0x14
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push str.Plugins_
push ecx
call fcn.005939e4
push str..lng
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x34], 1
call fcn.00593970
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x10]
mov dword [0x664818], eax
mov dword [0x664814], eax
call fcn.005936db
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.005936db
mov eax, dword [0x664814]
test eax, eax
jne 0x4f6a57
push 0
mov dword [0x664740], 0x409
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x664814], eax
jmp 0x4f6b86
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push str.Plugins_
push ecx
call fcn.005939e4
push str..lng
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x34], 2
call fcn.00593970
mov eax, dword [eax]
mov byte [esp + 0x28], 3
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0050e490
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 6
call fcn.005936db
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 5
call fcn.005936db
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.0050e490
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.00573b74
add esp, 0x10
lea ecx, [esp + 0xc]
test eax, eax
setne bl
call fcn.005936db
test bl, bl
je 0x4f6b78
mov eax, dword [0x639698]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x1c]
mov bl, 7
push 0
push ecx
mov byte [esp + 0x30], bl
call fcn.0050e490
add esp, 8
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.The_language_file__Plugins_s.lng__is_not_valid:_n_nMixW_version_is__s__language_file_version_is__s.
push ecx
mov byte [esp + 0x3c], 8
call fcn.0058aded
add esp, 0x14
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call fcn.005936db
push 0
mov dword [0x664740], 0x409
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [0x664818]
mov dword [0x664814], eax
push edx
call esi
mov eax, dword [esp + 0xc]
push 0
push 0x30
push eax
mov dword [0x664818], 0
call fcn.0059bd71
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 5
call fcn.005936db
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.005936db
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.005936db
jmp 0x4f6ba6
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x664814], eax
mov ecx, dword [0x664740]
mov edx, dword [0x664748]
mov eax, dword [0x664744]
push ecx
push edx
push eax
mov ecx, 0x6646a8
call fcn.004ed3b0
mov esi, dword [0x664814]
call fcn.005aa82c
push 0xffffffffffffffff
push 0
mov ecx, 0x664710
mov dword [eax + 0xc], esi
call fcn.0058d5a2
call fcn.004f5ae0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret