Function at 0x14001ebf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r13, r9
mov r15, rcx
and dword [rbp - 0x30], 0
lea rsi, [0x140038af8]
lea r9, [0x140066be0]
or ebx, 0xffffffff
mov rdx, r15
mov cl, byte [rsi]
call fcn.14001eb5c
mov edi, eax
mov dword [rbp - 0x2c], eax
cmp eax, 0xffffffff
je 0x14001edb3
mov qword [rbp - 0x20], r9
and dword [rbp - 0x18], 0
and dword [rbp - 0x14], 0
mov rcx, r9
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14001ee39
lea eax, [rbx + 2]
lock xadd dword [rbp - 0x18], eax
inc eax
cmp eax, 1
jne 0x14001ec83
cmp dword [rbp - 0x14], 0
jne 0x14001ee4f
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rbp - 0x14], eax
xor r14d, r14d
cmp r14d, 4
jge 0x14001eda3
xor r12b, r12b
and qword [rsp + 0x28], 0
mov al, byte [r15 + 0x18]
mov byte [rsp + 0x20], al
mov r9d, edi
xor r8d, r8d
mov rdx, qword [r15 + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14001dde0
mov ebx, dword [rax]
mov rdi, qword [rax + 8]
and qword [rax + 8], 0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14001ecda
and qword [rbp - 8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400325b8]
test ebx, ebx
jne 0x14001ed7f
mov eax, dword [rbp + 0x50]
mov dword [r13], eax
mov qword [rsp + 0x28], r13
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 0x3f2
je 0x14001ed24
cmp eax, 0x3fa
je 0x14001ed24
cmp eax, 6
je 0x14001ed24
xor ecx, ecx
jmp 0x14001ed29
mov ecx, 1
test ecx, ecx
je 0x14001ed52
mov rcx, qword [r15 + 0x10]
movzx eax, word [rcx + 0xa]
and eax, 0x1f
shl rax, 5
lea rdx, [0x1400641e0]
and qword [rax + rdx], 0
call fcn.14001c7b4
mov r12b, 1
jmp 0x14001ed7f
test eax, eax
jne 0x14001ed7f
movzx ecx, word [r15 + 0x1c]
mov eax, ecx
and eax, 0xf
cmp dword [rbp - 0x30], eax
je 0x14001ede0
cmp dword [rbp - 0x30], 3
jne 0x14001ed7a
cmp dword [r13], 4
jne 0x14001ed7a
and cl, 0xf
cmp cl, 4
je 0x14001ede0
mov ebx, 2
test rdi, rdi
je 0x14001ed94
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x1400325b8]
inc r14d
test r12b, r12b
mov edi, dword [rbp - 0x2c]
jne 0x14001ec86
lea rcx, [rbp - 0x20]
call fcn.14000de8c
lea r9, [0x140066be0]
inc rsi
lea rax, [0x140038afb]
cmp rsi, rax
jne 0x14001ec29
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test rdi, rdi
je 0x14001edf5
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x1400325b8]
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x14001ee24
or eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
jne 0x14001ee18
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x14], eax
jne 0x14001ee5c
and dword [rbp - 0x14], 0
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x14001edf5
cmp dword [rbp - 0x14], 0
je 0x14001ee35
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x14], eax
jne 0x14001ee42
xor eax, eax
jmp 0x14001edc8
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
xor edx, edx
mov ecx, 0x131f4c3
call fcn.140006298
int3
xor edx, edx
mov ecx, 0x131f4c4
call fcn.140006298
int3
xor edx, edx
mov ecx, 0x131f4c5
call fcn.140006298
int3