Function at 0x100c0c39
Capabilities:
Get keyboard layout
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.100be8d9
mov esi, eax
mov dword [ebp - 0x648], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edi, ax
call fcn.100be944
movzx ebx, ax
cmp esi, 1
jne 0x100c0c8b
cmp dword [ebp + 8], 0
je 0x100c0c84
push dword [0x1013bb50]
call fcn.100c068a
pop ecx
push 2
call fcn.100be970
xor esi, esi
cmp dword [ebp - 0x648], 3
je 0x100c0e42
call dword [sym.imp.KERNEL32.dll_GetACP]
push ebx
mov dword [ebp - 0x648], eax
call fcn.100b2cee
push 4
mov ecx, 0x804
pop edx
mov dword [ebp - 0x64c], 0x7804
test eax, eax
je 0x100c0ce6
cmp bx, cx
je 0x100c0ce4
mov eax, 0x1004
cmp bx, ax
je 0x100c0ce4
cmp bx, dx
je 0x100c0ce4
cmp bx, word [ebp - 0x64c]
mov ebx, 0x404
jne 0x100c0ce6
mov ebx, ecx
push edi
call fcn.100b2cee
test eax, eax
je 0x100c0d1c
mov eax, 0x804
cmp di, ax
je 0x100c0d1a
mov ecx, 0x1004
cmp di, cx
je 0x100c0d1a
push 4
pop ecx
cmp di, cx
je 0x100c0d1a
cmp di, word [ebp - 0x64c]
mov edi, 0x404
jne 0x100c0d1c
mov edi, eax
push 1
push esi
push dword [0x1013bb50]
call fcn.100bf792
push esi
movzx eax, bx
push esi
push eax
call fcn.100bf792
push esi
movzx eax, di
push esi
push eax
call fcn.100bf792
add esp, 0x24
cmp dword [ebp - 0x648], 0x4ea
jne 0x100c0d5e
push esi
push esi
push 0x40c
call fcn.100bf792
add esp, 0xc
push esi
push esi
lea edi, [ebp - 0x674]
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov ebx, eax
cmp ebx, 8
jbe 0x100c0d84
mov ecx, ebx
shl ecx, 2
push ecx
call fcn.100bd5f8
mov edi, eax
test edi, edi
je 0x100c0e03
push edi
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov eax, esi
mov dword [ebp - 0x648], eax
test ebx, ebx
je 0x100c0df3
movzx eax, word [edi + eax*4]
push eax
mov dword [ebp - 0x64c], eax
call fcn.100b3462
test eax, eax
jne 0x100c0de2
push dword [ebp - 0x64c]
call fcn.100c018c
push esi
push esi
push dword [ebp - 0x64c]
mov dword [ebp - 0x650], eax
call fcn.100bf792
mov eax, dword [ebp - 0x650]
add esp, 0x10
test eax, eax
je 0x100c0de2
push esi
push esi
push eax
call fcn.100bf792
add esp, 0xc
mov eax, dword [ebp - 0x648]
inc eax
mov dword [ebp - 0x648], eax
cmp eax, ebx
jb 0x100c0d98
lea eax, [ebp - 0x674]
cmp edi, eax
je 0x100c0e03
push edi
call fcn.100bd609
push 0x190
lea edi, [ebp - 0x644]
call fcn.100c075e
mov ebx, eax
pop ecx
mov edi, esi
test ebx, ebx
je 0x100c0e42
mov edx, dword [ebp + edi*4 - 0x644]
call fcn.100c080a
test eax, eax
jne 0x100c0e3d
push esi
push esi
push dword [ebp + edi*4 - 0x644]
call fcn.100bf792
add esp, 0xc
inc edi
cmp edi, ebx
jb 0x100c0e1c
mov edi, dword [0x10103660]
mov edx, edi
call fcn.100c080a
test eax, eax
jne 0x100c0e5e
push esi
push esi
push edi
call fcn.100bf792
add esp, 0xc
mov dword [0x1013d4b0], esi
mov dword [0x1013d4ac], esi
mov dword [0x1013d4a8], esi
mov dword [0x1013d4a4], esi
jmp 0x100c0ee9
cmp dword [0x1013d4a4], 0
jne 0x100c0e94
movzx eax, word [esi*8 + 0x1013bb64]
push eax
call fcn.100b2d4e
mov dword [0x1013d4a4], eax
cmp dword [0x1013d4a8], 0
jne 0x100c0eb0
movzx eax, word [esi*8 + 0x1013bb64]
push eax
call fcn.100b2cd1
mov dword [0x1013d4a8], eax
cmp dword [0x1013d4ac], 0
jne 0x100c0ecc
movzx eax, word [esi*8 + 0x1013bb64]
push eax
call fcn.100b2d14
mov dword [0x1013d4ac], eax
cmp dword [0x1013d4b0], 0
jne 0x100c0ee8
movzx eax, word [esi*8 + 0x1013bb64]
push eax
call fcn.100b2d31
mov dword [0x1013d4b0], eax
inc esi
push esi
lea eax, [ebp - 0x654]
push eax
call fcn.100cb485
test eax, eax
jne 0x100c0e78
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002059
leave
ret