Function at 0x14001bb60
Capabilities:
Identify system language via api

Disassembly:
push r14
sub rsp, 0x60
mov rax, qword [0x140106438]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx r8d, ax
test r14, r14
jne 0x14001bba0
mov eax, 0x400
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140092060
add rsp, 0x60
pop r14
ret
movzx eax, byte [r14 + 1]
mov qword [rsp + 0x78], rbx
xor ebx, ebx
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r15
test al, al
je 0x14001bd98
mov edx, eax
mov ecx, ebx
mov rax, qword [r14 + 0x10]
mov ebp, r8d
nop dword [rax]
cmp dword [rax], ebp
je 0x14001bd1e
inc rcx
add rax, 4
cmp rcx, rdx
jl 0x14001bbe0
mov dword [0x140153388], ebx
mov ebp, ebx
nop dword [rax]
mov rax, qword [r14 + 0x10]
lea r8, str._04X
mov edx, 5
lea rcx, [rsp + 0x30]
mov r9d, dword [rbx + rax]
call fcn.14001a6b0
lea r8, [rsp + 0x30]
mov edx, 4
lea rcx, [0x14001bb30]
call qword [sym.imp.KERNEL32.dll_EnumUILanguagesW]
cmp dword [0x140153388], 0
jne 0x14001bc52
movzx eax, byte [r14 + 1]
inc ebp
add rbx, 4
cmp ebp, eax
jl 0x14001bc00
jmp 0x14001bd9e
mov rax, qword [0x140142a80]
lea rsi, [0x140158be0]
mov rcx, qword [r14 + 0x10]
lea r9, str.Detected_installed_Windows_Language_Pack_for_0x_04X___s_
mov r15d, 0xffc
mov rbx, 0xffffffffffffffff
sub r15, rax
mov r8, rbx
lea rdi, [rax + rsi]
mov rdx, r15
movsxd rax, ebp
lea rbp, [rax*4]
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x28], rax
mov eax, dword [rcx + rbp]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.1400034e0
mov byte [rdi + r15 - 1], 0
nop
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14001bcb0
mov word [rbx + rsi], 0xa0d
add rbx, 2
mov qword [0x140142a80], rbx
cmp rbx, 0x1000
jae 0x14001be15
mov byte [rbx + rsi], 0
mov ecx, 0x400
mov rax, qword [r14 + 0x10]
or cx, word [rax + rbp]
movzx eax, cx
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140092060
add rsp, 0x60
pop r14
ret
mov rax, qword [0x140142a80]
lea rsi, [0x140158be0]
mov r15d, 0xffc
mov dword [rsp + 0x20], ebp
sub r15, rax
lea r9, str.Will_use_default_UI_locale_0x_04X
mov rbx, 0xffffffffffffffff
mov rdx, r15
lea rdi, [rax + rsi]
mov r8, rbx
mov rcx, rdi
call fcn.1400034e0
mov byte [rdi + r15 - 1], 0
nop
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14001bd60
mov word [rbx + rsi], 0xa0d
add rbx, 2
mov qword [0x140142a80], rbx
cmp rbx, 0x1000
jae 0x14001be15
mov eax, 0x400
mov byte [rbx + rsi], 0
or ax, bp
jmp 0x14001bceb
mov dword [0x140153388], ebx
mov rax, qword [0x140142a80]
lea rsi, [0x140158be0]
mov r15d, 0xffc
lea r9, str.NOTE:_No_Windows_Language_Pack_is_installed_for__s_on_this_system._r_nThis_means_that_some_controls_may_still_be_displayed_using_the_system_locale.
sub r15, rax
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, r15
lea rdi, [rax + rsi]
mov rax, qword [r14 + 0x20]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400034e0
mov byte [rdi + r15 - 1], 0
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14001bde4
mov word [rbx + rsi], 0xa0d
add rbx, 2
mov qword [0x140142a80], rbx
cmp rbx, 0x1000
jae 0x14001be15
mov byte [rbx + rsi], 0
mov eax, 0x400
jmp 0x14001bceb
call fcn.140092188
int3