Function at 0x1400f66ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
cmp rdx, rcx
je 0x1400f66e4
mov rdx, rcx
mov rcx, rbx
call fcn.140004958
mov edx, 0x31
mov rcx, qword [str.LngFolder0]
call fcn.1401b26f0
xor esi, esi
test rax, rax
je 0x1400f68f7
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, str.SoftwareWinRARGeneral
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f68f7
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanguageFolder
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f68ed
mov eax, dword [rbp - 0x29]
mov edx, 0x10000
cmp dword [rbp - 0x29], edx
cmovb edx, eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rsi
lea rcx, [rbp - 0x21]
call fcn.14000a448
nop
mov rax, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x21]
sub rax, rcx
sar rax, 1
add eax, eax
mov dword [rbp - 0x29], eax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanguageFolder
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f68a5
mov word [rbp - 0x25], si
mov rdx, qword [rbp - 0x19]
cmp rdx, qword [rbp - 0x11]
je 0x1400f67d5
mov word [rdx], si
add qword [rbp - 0x19], 2
jmp 0x1400f67e2
lea r8, [rbp - 0x25]
lea rcx, [rbp - 0x21]
call fcn.1400f6534
mov qword [rbp - 1], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov rdx, qword [rbp - 0x21]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x1400f67f6
lea rcx, [rbp - 1]
call fcn.1400041b8
nop
lea rcx, [rbp - 1]
call fcn.1400fd86c
mov rdx, rdi
lea rcx, [rbp + 0x1f]
call fcn.1400e333c
nop
lea r8, [rbp - 1]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.1400e2828
nop
lea rcx, [rbp + 0x1f]
call fcn.140006b94
lea rcx, [rbp - 1]
call fcn.1400cb9f4
test al, al
je 0x1400f6854
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.140004958
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1400f6894
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f688f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f691c
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], si
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400f68ed
mov rdx, qword [rbp - 0x11]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f68dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f6916
call fcn.1401af36c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rsi
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1401af480
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b6544
nop
call fcn.1401b6544
nop
int3