Function at 0x140004374
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
mov rax, qword [0x14000f008]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movaps xmm0, xmmword [str.SoftwarePoliciesMicrosoftOffice16.0CommonLanguageResources]
xor edi, edi
movaps xmm1, xmmword [0x14000bcb0]
mov rbx, rcx
mov al, byte [0x14000bce0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [0x14000bcc0]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm1, xmmword [0x14000bcd0]
movaps xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [str.SoftwareMicrosoftOffice16.0CommonLanguageResources]
mov byte [rbp - 0x50], al
mov eax, dword [0x14000bd38]
movaps xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x14000bcf8]
mov dword [rsp + 0x68], eax
mov eax, dword [0x14000f04c]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x14000bd08]
movups xmmword [rbp - 0x30], xmm1
movsd xmm1, qword [0x14000bd18]
movsd qword [rbp - 0x10], xmm1
movsd xmm1, qword [0x14000bd30]
movsd qword [rsp + 0x60], xmm1
movups xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [str.UILanguageTag]
movups xmmword [rsp + 0x50], xmm0
cmp eax, 0xffffffff
jne 0x14000457f
lea esi, [rdi + 1]
mov dword [rsp + 0x44], 0xaa
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], esi
mov r9d, esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400044d0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 2]
lea rax, [rbp]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400044c1
cmp dword [rsp + 0x40], esi
jne 0x1400044c1
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
mov dword [rbx], eax
jmp 0x1400044c3
mov edi, esi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400044d2
mov edi, esi
test edi, edi
je 0x140004575
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], esi
mov r9d, esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x44], 4
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000456d
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
lea rax, [rbp]
mov r9d, 2
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140004558
cmp dword [rsp + 0x40], esi
jne 0x140004558
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
jmp 0x14000455e
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004575
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [rbx], eax
mov eax, dword [rbx]
mov dword [0x14000f04c], eax
jmp 0x140004581
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400095c0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret