Function at 0x14001b410
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov r13, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp byte [r8 + 0x17], 0
js 0x14001b6eb
mov word [r13], 0
mov byte [r13 + 0x17], 0
test r14, r14
je 0x14001b539
lea r8, [rsp + 0x50]
mov qword [r8], 0
lea r9, [rsp + 0x48]
mov dword [r9], 0
lea rdx, str.VarFileInfoTranslation
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14001b539
lea rbp, [rsp + 0x50]
mov rax, qword [rbp]
movzx r12d, word [rax]
movzx esi, word [rax + 2]
mov rdi, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call rdi
mov r15d, eax
call rdi
mov edi, eax
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.1400f5b50
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x14001b4ca
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r12d
lea r9, str.StringFileInfo_04hx_04hx_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rbp
call fcn.14001b710
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0
mov rcx, r14
mov rdx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14001b55e
mov rbp, qword [rsp + 0x48]
test rbp, rbp
je 0x14001b55e
mov rcx, rbp
call fcn.1400f080c
mov rcx, r13
mov rdx, rbp
mov r8, rax
call fcn.1400dad90
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400f32c0
nop
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbp, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.1400f5b50
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x14001b57f
mov rax, qword [rbx]
movzx ecx, r15w
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ecx
lea r9, str.StringFileInfo_04hx_04hx_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rbp
call fcn.14001b710
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0
mov rcx, r14
mov rdx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14001b5df
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x14001b523
lea rbp, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.1400f5b50
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x14001b600
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04hx_04hx_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rbp
call fcn.14001b710
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0
mov rcx, r14
mov rdx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14001b661
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x14001b523
lea rbp, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.1400f5b50
cmp byte [rbx + 0x17], 0
jns 0x14001b67f
mov rbx, qword [rbx]
movzx eax, di
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04hx_04hx_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rbp
call fcn.14001b710
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0
mov rcx, r14
mov rdx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14001b539
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x14001b523
jmp 0x14001b539
mov rax, qword [r13]
mov word [rax], 0
mov qword [r13 + 8], 0
jmp 0x14001b455