Function at 0x4275f0
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x481ac0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4a28]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
push str.GetMappedLCID
push str.CScriptManager
call fcn.00420ef0
mov eax, dword [edi + 0x1c]
add esp, 8
cmp dword [edi + 0xc], eax
jle 0x427649
test eax, eax
jl 0x427644
cmp eax, dword [edi + 0xc]
jge 0x427644
mov ecx, dword [edi + 8]
mov esi, dword [ecx + eax*4]
jmp 0x42764b
jmp fcn.00442afc
xor esi, esi
mov ebx, dword [edi + 0x1a8]
push ebx
push str.UserLCID
mov dword [esp + 0x24], ebx
call fcn.004215e0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
push str.UserDefaultLCID
call fcn.004215e0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
push edx
push str.UserDefaultUILANGID
call fcn.004215e0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push eax
push str.SystemDefaultLCID
call fcn.004215e0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
push str.SystemDefaultUILANGID
call fcn.004215e0
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
add esp, 8
push 0
push str.LanguagesMapping
mov ecx, esi
call eax
test eax, eax
je 0x427809
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4276eb
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42771d
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x28], 1
mov edx, dword [esi]
mov edx, dword [edx + 0x60]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x18]
push eax
push edi
call fcn.004296d0
mov eax, dword [esp + 0x18]
call fcn.00422f80
mov ebp, eax
mov ebx, 1
cmp ebp, ebx
jb 0x4277b8
nop
mov ecx, dword [esp + 0x18]
push ecx
lea edi, [esp + 0x18]
mov eax, ebx
call fcn.00425b70
add esp, 4
test eax, eax
je 0x42778a
mov edx, dword [esp + 0x14]
push edx
call fcn.004256a0
add esp, 4
cmp eax, dword [esp + 0x1c]
je 0x427793
add ebx, 1
cmp ebp, ebx
jae 0x427760
jmp 0x4277b8
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
lea ecx, [esp + 0x14]
push ecx
push 0
mov ecx, esi
call edx
test eax, eax
je 0x4277b8
mov eax, dword [esp + 0x14]
push eax
call fcn.004256a0
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4277dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427805
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
push ebx
push str.GetMappedLCID
push str.CScriptManager
call fcn.00421240
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret