Function at 0x14000db80
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140077040]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.140002ed0
mov rcx, rax
test rax, rax
je 0x14000de06
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea r8, [0x14007dcc8]
lea rdx, str.Software_s
lea rcx, [rsp + 0x58]
call fcn.140004a60
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140081d38], eax
jle 0x14000dc48
lea rcx, [0x140081d38]
call fcn.140039dec
cmp dword [0x140081d38], 0xffffffff
jne 0x14000dc48
lea rax, str.InstallerLanguageDWORD
mov qword [0x1400819e8], rax
lea rax, str.InstallerLanguage
mov qword [0x1400819f0], rax
lea rax, str.Language
mov qword [0x1400819f8], rax
lea rcx, [0x140081d38]
call fcn.140039d80
lea rsi, [0x1400819e8]
xor ebp, ebp
lea r14, [0x140081a00]
mov rbx, qword [rsp + 0x58]
nop dword [rax]
mov rdi, qword [rsi]
mov dword [rsp + 0x40], ebp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000dcd7
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14000dd49
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000dd57
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 4
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14000dd49
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000dd57
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [rsp + 0x40]
test edi, edi
jne 0x14000ddb2
add rsi, 8
cmp rsi, r14
jne 0x14000dc60
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx r8d, ax
mov edx, ebp
mov r9, qword [0x14007ddc0]
test r9d, r9d
je 0x14000ddb0
mov r10, qword [0x14007ddb8]
mov r11d, 0x3ff
and r8w, r11w
mov rcx, rbp
movzx eax, word [rcx + r10]
and ax, r11w
cmp ax, r8w
je 0x14000ddf9
lea eax, [rdx + 1]
mov edx, eax
add rcx, 4
shr eax, 0x1f
cmp eax, r9d
jne 0x14000dd90
mov edi, ebp
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000ddcf
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rVariantCopy + 8]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400398f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
movsxd rax, edx
movzx edi, word [r10 + rax*4]
and edi, r11d
jmp 0x14000ddb2
mov ecx, 0x80004005
call fcn.140002c40
int3