Function at 0x14000c4c0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx eax, word [rcx + 0x26c]
mov rsi, rcx
test ax, ax
jne 0x14000c85f
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edx, ax
movzx ecx, ax
shr dx, 0xa
and ecx, 0x3ff
cmp ecx, 0x12
ja 0x14000c6d5
je 0x14000c6c4
cmp ecx, 9
ja 0x14000c626
je 0x14000c60e
sub ecx, 1
je 0x14000c5fd
sub ecx, 1
je 0x14000c5ec
sub ecx, 1
je 0x14000c5db
sub ecx, 1
je 0x14000c597
sub ecx, 1
je 0x14000c586
sub ecx, 1
je 0x14000c575
sub ecx, 1
je 0x14000c564
cmp ecx, 1
jne 0x14000c60e
mov edi, 0x408
lea rbx, str.Greek
jmp 0x14000c838
mov edi, 0x407
lea rbx, str.German
jmp 0x14000c838
mov edi, 0x406
lea rbx, str.Danish
jmp 0x14000c838
mov edi, 0x405
lea rbx, str.Czech
jmp 0x14000c838
sub dx, 2
mov eax, 0xfffd
test ax, dx
je 0x14000c5bb
lea rbx, str.ChineseTraditional
mov rcx, rbx
call fcn.14003879c
mov edi, 0x404
jmp 0x14000c5cf
lea rbx, str.ChineseSimplified
mov rcx, rbx
call fcn.14003879c
mov edi, 0x804
lea rbp, [rsi + 0x270]
jmp 0x14000c847
mov edi, 0x403
lea rbx, str.Catalan
jmp 0x14000c838
mov edi, 0x402
lea rbx, str.Bulgarian
jmp 0x14000c838
mov edi, 0x401
lea rbx, str.Arabic
jmp 0x14000c838
mov edi, 0x409
lea rbx, str.English
lea rcx, str.English
jmp 0x14000c83b
sub ecx, 0xa
je 0x14000c6b3
sub ecx, 1
je 0x14000c6a2
sub ecx, 1
je 0x14000c691
sub ecx, 1
je 0x14000c680
sub ecx, 1
je 0x14000c66f
sub ecx, 2
je 0x14000c65e
cmp ecx, 1
jne 0x14000c60e
mov edi, 0x411
lea rbx, str.Japanese
jmp 0x14000c838
mov edi, 0x410
lea rbx, str.Italian
jmp 0x14000c838
mov edi, 0x40e
lea rbx, str.Hungarian
jmp 0x14000c838
mov edi, 0x40d
lea rbx, str.Hebrew
jmp 0x14000c838
mov edi, 0x40c
lea rbx, str.French
jmp 0x14000c838
mov edi, 0x40b
lea rbx, str.Finnish
jmp 0x14000c838
mov edi, 0x40a
lea rbx, str.Spanish
jmp 0x14000c838
mov edi, 0x412
lea rbx, str.Korean
jmp 0x14000c838
cmp ecx, 0x1d
ja 0x14000c7b1
je 0x14000c7a0
sub ecx, 0x13
je 0x14000c78f
sub ecx, 1
je 0x14000c77e
sub ecx, 1
je 0x14000c76d
sub ecx, 1
je 0x14000c75c
sub ecx, 2
je 0x14000c74b
sub ecx, 1
je 0x14000c73a
sub ecx, 1
je 0x14000c729
cmp ecx, 1
jne 0x14000c60e
mov edi, 0x41b
lea rbx, str.Slovak
jmp 0x14000c838
mov edi, 0x41a
lea rbx, str.Croatian
jmp 0x14000c838
mov edi, 0x419
lea rbx, str.Russian
jmp 0x14000c838
mov edi, 0x418
lea rbx, str.Romanian
jmp 0x14000c838
mov edi, 0x416
lea rbx, str.Portuguese
jmp 0x14000c838
mov edi, 0x415
lea rbx, str.Polish
jmp 0x14000c838
mov edi, 0x414
lea rbx, str.Norwegian
jmp 0x14000c838
mov edi, 0x413
lea rbx, str.Dutch
jmp 0x14000c838
mov edi, 0x41d
lea rbx, str.Swedish
jmp 0x14000c838
sub ecx, 0x1f
je 0x14000c82c
sub ecx, 3
je 0x14000c81e
sub ecx, 2
je 0x14000c810
sub ecx, 1
je 0x14000c802
sub ecx, 1
je 0x14000c7f4
sub ecx, 1
je 0x14000c7e6
cmp ecx, 6
jne 0x14000c60e
mov edi, 0x42d
lea rbx, str.Basque
jmp 0x14000c838
mov edi, 0x427
lea rbx, str.Lithuanian
jmp 0x14000c838
mov edi, 0x426
lea rbx, str.Latvian
jmp 0x14000c838
mov edi, 0x425
lea rbx, str.Estonian
jmp 0x14000c838
mov edi, 0x424
lea rbx, str.Slovenian
jmp 0x14000c838
mov edi, 0x422
lea rbx, str.Ukrainian
jmp 0x14000c838
mov edi, 0x41f
lea rbx, str.Turkish
mov rcx, rbx
lea rbp, [rsi + 0x270]
call fcn.14003879c
mov r8d, eax
mov rdx, rbx
mov rcx, rbp
call fcn.140001858
movzx eax, di
mov word [rsi + 0x26c], di
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret