Function at 0x1400ff7b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
mov r15d, r8d
mov r14, rdx
mov rsi, rcx
mov dword [rbp + 0x7f], 1
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rbp + 0x7f], 1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
lea rax, [rbp - 0x61]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x65]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x25]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1400ff85c
lea rdx, [0x140255718]
mov ecx, eax
call fcn.14001ff70
jmp 0x1400ffafe
mov ecx, dword [rbp - 0x65]
inc ecx
mov dword [rbp - 0x65], ecx
mov eax, dword [rbp - 0x61]
inc eax
mov dword [rbp - 0x61], eax
cmp r15d, 1
jne 0x1400ff878
mov r13d, dword [rbp - 0x29]
jmp 0x1400ff87e
mov r13d, dword [rbp - 0x25]
mov eax, ecx
mov dword [rbp - 0x5d], r13d
inc eax
movsxd rdx, eax
add rdx, rdx
xor r8d, r8d
lea rcx, [rbp - 0x41]
call fcn.140031550
nop
mov edi, r12d
mov ebx, 0xffffffff
test r13d, r13d
jle 0x1400ffad7
mov r13, qword [rbp + 0x67]
nop dword [rax]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r12
mov rdx, qword [rbp - 0x31]
mov eax, edx
shr eax, 1
mov dword [rbp - 0x69], eax
mov rax, qword [rbp - 0x41]
cmp r15d, 1
jne 0x1400ff919
test rax, rax
je 0x1400ff8e1
mov eax, dword [rax]
cmp eax, r15d
jle 0x1400ff8f0
mov rdx, qword [rbp - 0x31]
mov r8d, 1
lea rcx, [rbp - 0x41]
call fcn.140033020
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x69]
mov r8, qword [rbp - 0x39]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1400ff95f
test rax, rax
je 0x1400ff929
mov eax, dword [rax]
cmp eax, 1
jle 0x1400ff938
mov rdx, qword [rbp - 0x31]
mov r8d, 1
lea rcx, [rbp - 0x41]
call fcn.140033020
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x69]
mov r8, qword [rbp - 0x39]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400ffb15
mov r8d, dword [rbp - 0x69]
lea rdx, [0x1401e4f90]
mov rax, qword [rbp - 0x39]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140017720
nop
mov r14, qword [rax]
mov r15, qword [rax + 8]
mov r12, qword [rax + 0x10]
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov eax, dword [rbp + 0x7f]
or eax, 0xa
mov dword [rbp + 0x7f], eax
test al, 4
je 0x1400ff9d6
and dword [rbp + 0x7f], 0xfffffffb
test r13, r13
je 0x1400ff9d6
mov eax, ebx
lock xadd dword [r13], eax
cmp eax, 1
jne 0x1400ff9d6
mov edx, 2
mov r8d, 8
mov rcx, r13
call fcn.140030bb0
nop
mov eax, dword [rbp + 0x7f]
test al, 2
je 0x1400ffa09
and dword [rbp + 0x7f], 0xfffffffd
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400ffa09
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffa09
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x19]
call fcn.140030bb0
mov rcx, qword [rbp - 0x59]
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], r12
test rcx, rcx
je 0x1400ffa39
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffa39
mov edx, 2
mov r8d, 8
call fcn.140030bb0
cmp qword [rbp - 0x49], 0
jne 0x1400ffa69
mov qword [rbp + 7], 1
lea rax, [0x140285c14]
mov qword [rbp + 0xf], rax
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x59]
call fcn.140012c30
lea r8, [rbp - 0x59]
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.14000af10
mov rax, qword [rsi]
test rax, rax
je 0x1400ffa88
mov eax, dword [rax]
cmp eax, 1
jle 0x1400ffa99
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14000a560
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1400ffac1
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffac1
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x59]
call fcn.140030bb0
mov r14, qword [rbp + 0x6f]
mov r15d, dword [rbp + 0x77]
xor r12d, r12d
inc edi
cmp edi, dword [rbp - 0x5d]
jl 0x1400ff8b0
mov rax, qword [rbp - 0x41]
test rax, rax
je 0x1400ffafe
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1400ffafe
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x41]
call fcn.140030bb0
nop
mov rax, rsi
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, [0x140255740]
mov ecx, eax
call fcn.14001ff70
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1400ffacc
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400ffacc
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x59]
call fcn.140030bb0
jmp 0x1400ffacc