Function at 0x5288a0
Capabilities:
Check for peb ntglobalflag flag
Get keyboard layout
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72d248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [ebp - 0xd]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x18], ebx
lea ecx, [ebx + 8]
mov byte [ebx + 4], al
call fcn.0052c6a0
xor edi, edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], edi
mov cl, byte [ebp - 0xd]
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov dword [ebp - 4], edi
mov byte [ebx + 0x44], cl
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x50], edi
mov dl, byte [ebp - 0xd]
lea ecx, [ebx + 0x54]
push edi
mov byte [ebp - 4], 1
mov byte [ecx], dl
call fcn.00420210
mov al, byte [ebp - 0xd]
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x68], edi
mov dword [ebx + 0x6c], edi
push edi
mov byte [ebp - 4], 2
mov byte [ecx], al
call fcn.00420210
mov dl, byte [ebp - 0xd]
lea ecx, [ebx + 0x80]
push edi
mov byte [ebp - 4], 3
mov byte [ecx], dl
call fcn.00420210
push edi
mov byte [ebp - 4], 4
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov word [ebx + 0x96], ax
mov al, byte [ebp - 0xd]
lea esi, [ebx + 0xa4]
mov dword [ebx + 0x9c], edi
mov dword [ebx + 0xa0], edi
push edi
mov ecx, esi
mov byte [esi], al
call fcn.00420210
mov edi, 0x7bd64c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, esi
push edi
mov dword [ebp - 0x14], edi
call fcn.004219f0
test al, al
je 0x5289c0
mov eax, dword [esi + 4]
mov ecx, edi
mov edx, ecx
mov esi, 0x7bd64c
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0xa4]
call fcn.004219d0
mov dword [ebx], 0x73ed88
mov al, byte [0x80fe35]
test al, al
mov byte [ebp - 4], 5
je 0x5289eb
mov ax, word [ebx + 0x96]
push eax
call fcn.00528450
push eax
call fcn.00528550
add esp, 8
jmp 0x5289f0
mov eax, dword [0x80fe28]
mov dword [ebx + 0x98], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0x3ff
add eax, 0xfffffff9
cmp eax, 0x18
ja case.0x528a15.11
xor ecx, ecx
mov cl, byte [eax + 0x528c10]
jmp dword [ecx*4 + 0x528bfc]
mov edi, str.italian_
or ecx, 0xffffffff
xor eax, eax
mov word [ebx + 0xb4], 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [ebx + 0xa4]
push esi
mov dword [ebp - 0x14], esi
call fcn.004219f0
test al, al
je 0x528bd3
mov edi, dword [ebx + 0xa8]
mov ecx, esi
lea eax, [ebx + 0xa4]
mov edx, ecx
mov esi, str.italian_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
push ecx
mov ecx, eax
call fcn.004219d0
jmp 0x528bd3
mov edi, str.portuguese_
or ecx, 0xffffffff
xor eax, eax
mov word [ebx + 0xb4], 0x16
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [ebx + 0xa4]
push esi
mov dword [ebp - 0x14], esi
call fcn.004219f0
test al, al
je 0x528bd3
mov edi, dword [ebx + 0xa8]
mov ecx, esi
mov edx, ecx
mov esi, str.portuguese_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x528bc3
mov edi, str.turkish_
or ecx, 0xffffffff
xor eax, eax
mov word [ebx + 0xb4], 0x1f
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [ebx + 0xa4]
push esi
mov dword [ebp - 0x14], esi
call fcn.004219f0
test al, al
je 0x528bd3
mov edi, dword [ebx + 0xa8]
mov ecx, esi
mov edx, ecx
mov esi, str.turkish_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x528bc3
mov edi, str.german_
or ecx, 0xffffffff
xor eax, eax
mov word [ebx + 0xb4], 7
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [ebx + 0xa4]
push esi
mov dword [ebp - 0x14], esi
call fcn.004219f0
test al, al
je 0x528bd3
mov edi, dword [ebx + 0xa8]
mov ecx, esi
mov edx, ecx
mov esi, str.german_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x528bc3
mov edi, str.english_
or ecx, 0xffffffff
xor eax, eax
mov word [ebx + 0xb4], 9
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
lea ecx, [ebx + 0xa4]
push esi
mov dword [ebp - 0x14], esi
call fcn.004219f0
test al, al
je 0x528bd3
mov edi, dword [ebx + 0xa8]
mov ecx, esi
mov edx, ecx
mov esi, str.english_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0xac], eax
mov ecx, dword [ebx + 0xa8]
mov byte [ecx + eax], 0
cmp dword [0x80fe3c], 0xf
jne 0x528be6
mov dword [ebx + 0x98], 0x4ea
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret