Function at 0x14002afc4
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 [0x14006e368]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov rbx, rcx
cmp rdx, rcx
je 0x14002b00a
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14002affe
mov rdx, qword [rcx]
mov r8, qword [rcx + 0x10]
mov rcx, rdi
call fcn.1400032dc
mov edx, 0x31
mov rcx, qword [str.LngFolder0]
call fcn.14004398c
xor esi, esi
test rax, rax
je 0x14002b214
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 0x14002b214
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14005bc90]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002b20a
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.14000d250
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 0x14002b1ce
mov word [rbp - 0x25], si
mov rdx, qword [rbp - 0x19]
cmp rdx, qword [rbp - 0x11]
je 0x14002b0fb
mov word [rdx], si
add qword [rbp - 0x19], 2
jmp 0x14002b108
lea r8, [rbp - 0x25]
lea rcx, [rbp - 0x21]
call fcn.14002ae74
mov qword [rbp - 1], rsi
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], rsi
mov rdx, qword [rbp - 0x21]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x14002b11c
lea rcx, [rbp - 1]
call fcn.1400033a4
nop
lea rcx, [rbp - 1]
call fcn.1400314b4
mov rdx, rbx
lea rcx, [rbp + 0x1f]
call fcn.1400239a0
nop
lea r8, [rbp - 1]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.140022eec
nop
lea rcx, [rbp + 0x1f]
call fcn.140003250
lea rcx, [rbp - 1]
call fcn.14001b144
test al, al
je 0x14002b191
lea rax, [rbp - 1]
cmp rdi, rax
je 0x14002b191
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
mov r8, qword [rbp + 0xf]
mov rcx, rdi
call fcn.1400032dc
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x14002b1ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b1c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b239
call fcn.140040ee4
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14002b20a
mov rdx, qword [rbp - 0x11]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b205
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b233
call fcn.140040ee4
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140041060
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call fcn.140046414
nop
call fcn.140046414
nop
int3