Function at 0x4a8550
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6c24
mov eax, dword fs:[0]
push eax
sub esp, 0x280
push esi
push edi
lea edi, [ebp - 0x28c]
mov ecx, 0xa0
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x51197c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ax, word [0x4db838]
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.004b8382
add esp, 0xc
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0x80004005
mov esi, esp
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
cmp esi, esp
call fcn.004b81e1
movzx edx, al
test edx, edx
jne 0x4a85ec
cmp dword [ebp + 0xc], 0
jne 0x4a861a
mov dword [ebp - 0x274], 0x80070057
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov eax, dword [ebp - 0x274]
jmp 0x4a88e4
cmp dword [ebp + 0x18], 0
je 0x4a8632
mov esi, esp
mov ecx, dword [ebp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2121]
cmp esi, esp
call fcn.004b81e1
mov esi, esp
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_2121]
cmp esi, esp
call fcn.004b81e1
cmp dword [ebp + 0x10], 0
je 0x4a8661
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
cmp esi, esp
call fcn.004b81e1
movzx eax, ax
mov dword [ebp - 0x14], eax
jmp 0x4a8676
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp esi, esp
call fcn.004b81e1
movzx ecx, ax
mov dword [ebp - 0x14], ecx
movzx edx, word [ebp + 0x14]
test edx, edx
je 0x4a8685
movzx eax, word [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x23c]
call fcn.004665a0
mov byte [ebp - 4], 1
push 0x20019
push 0x4dc22c
push reloc.SHELL32.dll_SHChangeNotifyRegister
lea ecx, [ebp - 0x23c]
call fcn.00466650
test eax, eax
jne 0x4a88aa
mov dword [ebp - 0x22c], 0x104
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x220]
push edx
mov esi, esp
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp esi, esp
call fcn.004b81e1
push eax
lea ecx, [ebp - 0x23c]
call fcn.00466700
test eax, eax
jne 0x4a889f
mov esi, esp
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x248]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
cmp esi, esp
call fcn.004b81e1
mov byte [ebp - 4], 2
mov byte [ebp - 0x24d], 1
mov esi, esp
push 0
push 0x4db83c
lea ecx, [ebp - 0x248]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp esi, esp
call fcn.004b81e1
cmp eax, 0xffffffff
jne 0x4a87d0
mov esi, esp
push 0
push 0x4db844
lea ecx, [ebp - 0x248]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp esi, esp
call fcn.004b81e1
cmp eax, 0xffffffff
jne 0x4a87d0
mov byte [ebp - 0x24d], 0
lea ecx, [ebp - 0x26c]
call sub.MFC80U.DLL_Ordinal_386
mov byte [ebp - 4], 3
push 0
mov esi, esp
lea ecx, [ebp - 0x248]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp esi, esp
call fcn.004b81e1
push eax
lea ecx, [ebp - 0x26c]
call sub.MFC80U.DLL_Ordinal_2271
test eax, eax
je 0x4a87c1
mov dword [ebp - 0x234], 0
mov esi, esp
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
cmp esi, esp
call fcn.004b81e1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call sub.MFC80U.DLL_Ordinal_631
movzx edx, byte [ebp - 0x24d]
test edx, edx
je 0x4a8886
mov eax, dword [ebp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
mov esi, esp
lea edx, [ebp - 0x248]
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.004a89a0
add esp, 0x10
mov dword [ebp - 0x288], eax
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], edx
mov byte [ebp - 4], 4
mov esi, esp
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
cmp esi, esp
call fcn.004b81e1
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp - 0x27c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov esi, esp
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
cmp esi, esp
call fcn.004b81e1
movzx ecx, al
test ecx, ecx
jne 0x4a8886
mov dword [ebp - 0x234], 0
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x248]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
lea ecx, [ebp - 0x23c]
call fcn.004665f0
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.004665c0
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov eax, dword [ebp - 0x280]
push edx
mov ecx, ebp
push eax
lea edx, [0x4a8920]
call fcn.004b8204
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b81d2
add esp, 0x28c
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret