Function at 0x1400d84b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15, r8
mov rbx, rdx
mov r14, rcx
lea rsi, [0x140148ea8]
mov rcx, qword [0x140148ea8]
cmp rcx, rsi
je 0x1400d8515
test byte [rcx + 0x1c], 1
je 0x1400d8515
cmp byte [rcx + 0x19], 5
jb 0x1400d8515
mov edx, 0x41
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov rcx, qword [rcx + 0x10]
call fcn.1400d65f0
mov rdx, rbx
mov rcx, r14
call fcn.1400d6bb0
mov edi, eax
mov rcx, qword [0x140148ea8]
cmp rcx, rsi
je 0x1400d854f
test byte [rcx + 0x1c], 2
je 0x1400d854f
cmp byte [rcx + 0x19], 5
jb 0x1400d854f
mov edx, 0x42
mov dword [rsp + 0x20], eax
mov r9, rbx
mov rcx, qword [rcx + 0x10]
call fcn.1400d65f0
xor esi, esi
mov eax, 0x490
test edi, edi
cmove esi, eax
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140011450
nop
lea rcx, [rbp - 0x28]
call fcn.140043db4
xor ebx, ebx
mov qword [rbp - 0x18], rbx
and qword [rbp - 0x10], rbx
and qword [rbp - 8], rbx
lea edi, [rbx + 4]
test esi, esi
jne 0x1400d85d2
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, r14
call fcn.1400da77c
mov esi, eax
mov rcx, qword [0x140148ea8]
lea r14, [0x140148ea8]
cmp rcx, r14
je 0x1400d85cc
test byte [rcx + 0x1c], 2
je 0x1400d85cc
cmp byte [rcx + 0x19], dil
jb 0x1400d85cc
lea edx, [rbx + 0x43]
mov r9d, eax
lea r8, [0x1400091f8]
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
mov rbx, qword [rbp - 0x18]
jmp 0x1400d85d9
lea r14, [0x140148ea8]
and dword [r15], 0
and dword [rbp + 0x40], 0
test esi, esi
jne 0x1400d86bc
mov dword [rbp + 0x48], edi
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rdx, qword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1400d8624
mov eax, dword [rbp - 0x30]
sub eax, edi
neg eax
sbb esi, esi
and esi, 0xd
mov rcx, qword [0x140148ea8]
cmp rcx, r14
je 0x1400d8660
test byte [rcx + 0x1c], 2
je 0x1400d8660
cmp byte [rcx + 0x19], dil
jb 0x1400d8660
mov edx, 0x44
mov dword [rsp + 0x28], esi
mov eax, dword [rbp + 0x40]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp - 0x28]
mov rcx, qword [rcx + 0x10]
call fcn.1400d67a4
mov rcx, qword [0x140148ea8]
cmp esi, 2
jne 0x1400d8681
xor esi, esi
cmp rcx, r14
je 0x1400d86fd
test byte [rcx + 0x1c], 2
je 0x1400d86c3
cmp byte [rcx + 0x19], dil
jb 0x1400d86c3
lea edx, [rsi + 0x45]
jmp 0x1400d86ac
test esi, esi
jne 0x1400d86c3
cmp dword [rbp + 0x40], esi
je 0x1400d86c3
mov dword [r15], 1
mov rcx, qword [0x140148ea8]
cmp rcx, r14
je 0x1400d86fd
test byte [rcx + 0x1c], 2
je 0x1400d86c3
cmp byte [rcx + 0x19], dil
jb 0x1400d86c3
lea edx, [rsi + 0x46]
lea r8, [0x1400091f8]
mov rcx, qword [rcx + 0x10]
call fcn.14000fcb0
mov rcx, qword [0x140148ea8]
cmp rcx, r14
je 0x1400d86fd
test byte [rcx + 0x1c], 1
je 0x1400d86fd
movzx r9d, byte [rcx + 0x19]
mov eax, esi
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jl 0x1400d86fd
mov edx, 0x47
mov r9d, esi
lea r8, [0x1400091f8]
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
nop
test rbx, rbx
je 0x1400d870c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov r14, qword [rbp - 0x28]
lock add dword [r14 - 8], 0xffffffff
jg 0x1400d8735
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov eax, esi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret