Function at 0x406290
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x41e828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
push str.CMainFrame::GetLanguageInfo___n
mov esi, ecx
call fcn.00403770
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00404aa0
xor edi, edi
mov dword [esp + 0x58], edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Language
mov ebx, eax
shr ax, 0xa
and ebx, 0x3ff
mov dword [esp + 0x1c], eax
call fcn.00402390
push ecx
lea eax, [esi + 0xa0]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x64], 1
call fcn.00402330
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0
call fcn.004050a0
cmp eax, edi
jne 0x40632d
push edi
push 0xa
push 6
call fcn.00403950
add esp, 0xc
jmp 0x406470
lea ecx, [esp + 0x10]
call fcn.004017b0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 2
call fcn.004053f0
test eax, eax
je 0x4063fe
lea ecx, [esp + 0x24]
call fcn.00401d50
test eax, eax
je 0x406362
xor ebp, ebp
jmp 0x406376
lea ecx, [esp + 0x24]
call fcn.00402cb0
push eax
call fcn.004111c0
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x28]
call fcn.00401d50
test eax, eax
je 0x406387
xor eax, eax
jmp 0x406399
lea ecx, [esp + 0x28]
call fcn.00402cb0
push eax
call fcn.004111c0
add esp, 4
cmp bp, bx
jne 0x4063b6
cmp ax, word [esp + 0x14]
je 0x4063ee
cmp edi, 2
jge 0x4063b6
lea ecx, [esp + 0x10]
mov edi, 2
push ecx
jmp 0x4063cb
cmp bp, 9
jne 0x4063d6
cmp edi, 1
jge 0x4063d6
lea edx, [esp + 0x10]
mov edi, 1
push edx
lea ecx, [esi + 0xe8]
call fcn.00401940
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
call fcn.004053f0
test eax, eax
jne 0x406351
jmp 0x4063fe
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0xe8]
call fcn.00401940
lea edi, [esi + 0xe8]
mov ecx, edi
call fcn.00401d50
test eax, eax
je 0x406415
push 0
push 0xb
jmp 0x406458
lea ecx, [esp + 0x20]
call fcn.00404ca0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call fcn.00402330
push ecx
lea eax, [esi + 0xa0]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x64], 3
call fcn.00402330
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 2
call fcn.004050a0
test eax, eax
jne 0x406496
push eax
push 0xc
push 6
call fcn.00403950
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0
call fcn.00401910
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.00405030
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SHORTCUT
call fcn.00402390
lea ecx, [esp + 0x24]
call fcn.00405300
test eax, eax
je 0x4064f1
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00402330
lea eax, [esp + 0x18]
push eax
call fcn.00404b20
add esp, 8
push eax
lea ecx, [esi + 0x9c]
mov byte [esp + 0x5c], 4
call fcn.00401940
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 2
call fcn.00401910
lea ecx, [esp + 0x20]
call fcn.00404ca0
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0
call fcn.00401910
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.00405030
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret