Function at 0x14001a770
Capabilities:
Query or enumerate registry value

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov r15, r8
mov rsi, rdx
mov r14, rcx
movzx eax, byte [0x1401a9d84]
neg al
sbb rdi, rdi
add rdi, 0xffffffff80000002
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x19], rax
xor r12d, r12d
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
mov qword [rbp - 0x29], r12
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x21], rax
lea rdx, [0x140135ea8]
test rdx, 0xffffffffffff0000
jne 0x14001a82a
movzx ebx, dx
mov ecx, ebx
call fcn.1400019f0
test rax, rax
je 0x14001a834
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.140002530
jmp 0x14001a834
lea rcx, [rbp - 0x21]
call fcn.140003150
nop
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.14000ee60
nop
lea r8, [0x1401a9fc0]
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.14000ee60
nop
lea r8, [0x140135e30]
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.140019610
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14000ee60
nop
mov qword [rbp - 9], r12
lea rcx, [rbp - 9]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test eax, eax
jne 0x14001a8b5
mov dword [rbp - 0x31], r12d
mov ecx, r12d
mov rax, qword [rbp - 9]
mov qword [rbp - 0x39], rax
test ecx, ecx
setne dil
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
lock add dword [rdx + 0x10], ebx
jg 0x14001a8d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001a8ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001a908
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001a921
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001a939
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x14001a98f
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14001a951
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001a96e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001a98a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14001aaf9
mov dword [rbp + 0x7f], r12d
mov dword [rbp - 0x11], 4
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0xd]
xor r8d, r8d
mov rdx, qword [rsi]
mov rdi, qword [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001aa95
cmp dword [rbp - 0xd], 4
jne 0x14001aa95
test rdi, rdi
je 0x14001a9ea
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
mov eax, dword [rbp + 0x7f]
mov dword [r15], eax
mov ecx, dword [0x1401a9d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x38e38e39
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub r8d, eax
cmp r8d, 0xa
jne 0x14001aa2f
inc dword [0x1401a9f94]
test rdi, rdi
je 0x14001aa41
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001aa5e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001aa7a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001aa91
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
jmp 0x14001ab12
test rdi, rdi
je 0x14001aaaa
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
test rdi, rdi
je 0x14001aac0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x39], r12
mov dword [rbp - 0x31], r12d
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001aadd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14001aaf9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001ab10
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret