Function at 0x40ab80
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458623
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x140]
call fcn.00404e30
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
lea ecx, [ebp - 0x140]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00414600
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00405440
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0041a210
or ebx, 0xffffffff
test eax, eax
je 0x40ac1d
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00405440
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.004299a0
test eax, eax
je 0x40adc7
push 2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041a7d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
push eax
call fcn.00408f00
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40ac67
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40ac67
mov eax, dword [ebp - 0x14]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00405440
mov byte [ebp - 4], 5
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0041a210
test eax, eax
je 0x40acaf
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00405440
mov byte [ebp - 4], 6
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.004299a0
test eax, eax
je 0x40adc7
push 0x463710
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea ecx, [ebp - 0x10]
push esi
mov dword [ebp - 0x14], esi
call fcn.0040a880
test eax, eax
je 0x40acf5
add esi, esi
push esi
push 0x463710
lea eax, [esi + 2]
push eax
push dword [ebp - 0x10]
call fcn.00445948
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [ebp - 0x14]
mov dword [eax - 8], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [esi + eax], cx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00405440
mov byte [ebp - 4], 7
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0041a210
test eax, eax
je 0x40ad3d
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00405440
mov byte [ebp - 4], 8
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.004299a0
test eax, eax
je 0x40adc7
push 0x463718
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea ecx, [ebp - 0x10]
push esi
mov dword [ebp - 0x14], esi
call fcn.0040a880
test eax, eax
je 0x40ad83
add esi, esi
push esi
push 0x463718
lea eax, [esi + 2]
push eax
push dword [ebp - 0x10]
call fcn.00445948
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [ebp - 0x14]
mov dword [eax - 8], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [esi + eax], cx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00405440
mov byte [ebp - 4], 9
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0041a210
test eax, eax
je 0x40add6
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00405440
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.004299a0
test eax, eax
jne 0x40add6
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00408f00
xor esi, esi
jmp 0x40addb
mov esi, 0x657
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40ae0a
lea ecx, [eax - 0x20]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40ae0a
mov eax, dword [ebp - 0x10]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx - 0x20]
cmp eax, dword [0x476474]
je 0x40ae3a
add ecx, 0xffffffe0
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x40ae3a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffffffe0
push ecx
call fcn.004471aa
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret