Function at 0x14000fb50
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and dword [rbp - 0x2c], 0
lea rdi, [0x1401460b4]
mov r15, r9
lea r10, [0x1401d1ff8]
mov r13d, r8d
mov rsi, rcx
mov cl, byte [rdi]
or r9d, 0xffffffff
mov rdx, rsi
mov dword [rbp - 0x30], r9d
call fcn.14000f018
mov r12d, eax
cmp eax, 0xffffffff
je 0x14000fd2e
and dword [rbp - 0x18], 0
mov rcx, r10
and dword [rbp - 0x14], 0
mov qword [rbp - 0x20], r10
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rbp - 0x18], eax
test eax, eax
jne 0x14000fbe1
cmp dword [rbp - 0x14], eax
jne 0x14000fd8a
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rbp - 0x14], eax
xor ebx, ebx
cmp ebx, 4
jge 0x14000fd1a
mov eax, dword [rsi + 0x1c]
lea rcx, [rbp - 0x10]
mov rdx, qword [rsi + 0x10]
mov r9d, r12d
and qword [rbp - 0x28], 0
xor r14b, r14b
mov dword [rsp + 0x20], eax
call fcn.14000e2fc
mov rcx, rax
mov eax, dword [rax]
mov dword [rbp - 0x30], eax
mov rax, qword [rcx + 8]
and qword [rcx + 8], 0
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x28], rax
test rcx, rcx
je 0x14000fc36
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14000fc51
and qword [rbp - 8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
cmp dword [rbp - 0x30], 0
jne 0x14000fcf4
mov rax, qword [rbp - 0x28]
lea r9, [rbp - 0x2c]
mov rcx, qword [rbp + 0x38]
xor r8d, r8d
mov dword [r15], r13d
mov rdx, qword [rsi]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp - 0x30], eax
cmp eax, 0x3f2
je 0x14000fcd1
cmp eax, 0x3fa
je 0x14000fcd1
cmp eax, 6
je 0x14000fcd1
test eax, eax
jne 0x14000fcf4
movzx ecx, word [rsi + 0x18]
mov eax, ecx
and eax, 0xf
cmp dword [rbp - 0x2c], eax
je 0x14000fd62
cmp dword [rbp - 0x2c], 3
jne 0x14000fcc8
cmp dword [r15], 4
jne 0x14000fcc8
and cl, 0xf
cmp cl, 4
je 0x14000fd62
mov dword [rbp - 0x30], 2
jmp 0x14000fcf4
mov rcx, qword [rsi + 0x10]
lea rdx, [0x1401cd7f0]
movzx eax, word [rcx + 0xa]
and eax, 0x1f
shl rax, 5
and qword [rax + rdx], 0
call fcn.14000b808
mov r14b, 1
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14000fd0f
and qword [rbp - 0x28], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
inc ebx
test r14b, r14b
jne 0x14000fbe3
lea rcx, [rbp - 0x20]
call fcn.14000ba40
mov r9d, dword [rbp - 0x30]
lea r10, [0x1401d1ff8]
inc rdi
lea rax, [0x1401460b7]
cmp rdi, rax
jne 0x14000fb8e
mov eax, r9d
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14000fd7d
and qword [rbp - 0x28], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
lea rcx, [rbp - 0x20]
call fcn.14000ba40
xor eax, eax
jmp 0x14000fd44
xor edx, edx
mov ecx, 0x131f4c4
call fcn.14000ad28
int3