Function at 0x14000f1f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov r15, r8
mov rbx, rdx
mov r14, rcx
xor esi, esi
mov dword [rbp - 9], esi
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 7], rax
or r12, 0xffffffffffffffff
test rbx, rbx
je 0x14000f288
test rbx, 0xffffffffffff0000
jne 0x14000f275
movzx edi, bx
mov ecx, edi
call fcn.140004200
test rax, rax
je 0x14000f29a
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.14000b630
jmp 0x14000f29a
xor eax, eax
mov rcx, r12
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x14000f28a
mov ecx, esi
mov r8d, ecx
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.14000b480
nop
lea rcx, [rbp + 7]
call fcn.14000ef20
mov rdi, rax
lea rdx, [0x140045804]
mov rcx, r14
call fcn.14000a610
mov dword [rbp - 9], 1
mov qword [rbp + 0x17], rsi
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 7]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f453
mov dword [rbp + 0x7f], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
lea rax, [rbp - 1]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp + 0x7f]
test eax, eax
je 0x14000f448
lea ecx, [rax + 1]
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.14002660c
mov r13, rax
mov r8d, dword [rbp + 0x7f]
xor edx, edx
mov rcx, rax
call fcn.14002a480
mov dword [rbp - 5], 1
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp - 5]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000f440
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp + 0xf], rbx
test r13, r13
je 0x14000f3eb
test r13, 0xffffffffffff0000
jne 0x14000f3d8
movzx edi, r13w
mov ecx, edi
call fcn.140004200
test rax, rax
je 0x14000f400
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.14000b630
jmp 0x14000f3fc
xor eax, eax
mov rcx, r12
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x14000f3ed
mov ecx, esi
mov r8d, ecx
mov rdx, r13
lea rcx, [rbp + 0xf]
call fcn.14000b480
mov rbx, qword [rbp + 0xf]
test rbx, rbx
je 0x14000f416
xor eax, eax
mov rcx, r12
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea esi, [rcx - 1]
mov r8d, esi
mov rdx, rbx
mov rcx, r14
call fcn.14000b480
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000f440
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, r13
call fcn.1400278f8
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x14000f472
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, r14
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret