Function at 0x1400f8440
Capabilities:
Query or enumerate registry key
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 - 0x30]
sub rsp, 0x130
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x178], rbx
mov r13d, r8d
mov r12, rdx
mov r14, rcx
xor ebx, ebx
mov dword [rbp - 0x50], ebx
lea rsi, [0x140188608]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1400f8625
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140079d10
nop
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140020590
nop
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp - 0x30], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
lea rax, [0x1402c4b50]
mov qword [rbp - 0x18], rax
lea rdx, [0x14029b358]
lea rcx, [rbp - 0x30]
call fcn.14001ead0
nop
mov rcx, qword [rbp - 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x1400f8547
cmp eax, 0xffffffff
je 0x1400f8559
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f8559
mov rcx, qword [rbp - 0x78]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140035d80
mov r14, qword [rbp + 0x70]
mov rcx, qword [rbp - 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400f8578
cmp eax, 0xffffffff
je 0x1400f8586
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f8586
mov rcx, qword [rbp - 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
mov rax, qword [rsp + 0x68]
mov qword [r14], rax
mov qword [rsp + 0x68], rsi
mov eax, dword [0x140188608]
test eax, eax
je 0x1400f85b7
cmp eax, 0xffffffff
je 0x1400f861d
or eax, 0xffffffff
lock xadd dword [0x140188608], eax
cmp eax, 1
jne 0x1400f861d
mov rsi, qword [rsp + 0x68]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd rdi, dword [rsi + 8]
add rdi, 2
lea rdi, [rsi + rdi*8]
cmp rdi, rbx
je 0x1400f8614
nop dword [rax]
nop dword [rax + rax]
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400f85fe
cmp eax, 0xffffffff
je 0x1400f860f
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f860f
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.140035d80
cmp rbx, rdi
jne 0x1400f85e0
mov rcx, rsi
call fcn.140103190
nop
mov rax, r14
jmp 0x1400f8a00
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov edx, dword [rsp + 0x7c]
inc edx
mov dword [rsp + 0x7c], edx
cmp r13d, 1
jne 0x1400f8645
mov r15d, dword [rbp - 0x80]
jmp 0x1400f864b
mov r15d, dword [rbp - 0x7c]
mov edx, eax
lea edx, [rdx*2 + 2]
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.140036650
nop
mov edi, ebx
mov r14d, 1
test r15d, r15d
jle 0x1400f8941
lea rcx, [0x1401885d8]
lea rsi, [0x1402c4b50]
nop
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
shr rcx, 1
mov dword [rbp + 0x88], ecx
cmp r13d, 1
jne 0x1400f86fa
cmp dword [rax], r13d
ja 0x1400f86a9
cmp qword [rax + 0x10], 0x18
je 0x1400f86cb
mov r8d, ebx
cmp dword [rax + 8], 0x80000000
cmovae r8d, r14d
mov edx, dword [rax + 4]
inc edx
lea rcx, [rsp + 0x70]
call fcn.140037e30
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 0x10]
add r8, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x88]
mov edx, edi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1400f8755
cmp dword [rax], 1
ja 0x1400f8706
cmp qword [rax + 0x10], 0x18
je 0x1400f8728
mov r8d, ebx
cmp dword [rax + 8], 0x80000000
cmovae r8d, r14d
mov edx, dword [rax + 4]
inc edx
lea rcx, [rsp + 0x70]
call fcn.140037e30
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 0x10]
add r8, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x88]
mov edx, edi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400f87c0
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, dword [rbp + 0x88]
lea rcx, [rbp - 0x68]
call fcn.1400091a0
mov rdx, qword [rsp + 0x60]
mov qword [rbp + 0x18], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1400f87aa
cmp eax, 0xffffffff
je 0x1400f87b8
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f87b8
mov rcx, qword [rbp - 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
test ebx, ebx
je 0x1400f88a2
mov edx, ebx
lea rcx, [rbp - 0x58]
call fcn.140079d10
nop
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.140020590
nop
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp - 0x10], 2
xor ebx, ebx
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rsi
lea rdx, [0x14029b380]
lea rcx, [rbp - 0x10]
call fcn.14001ead0
nop
mov rcx, qword [rbp - 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400f8829
cmp eax, 0xffffffff
je 0x1400f8838
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f8838
mov rcx, qword [rbp - 0x60]
mov r8d, 8
mov rdx, r14
call fcn.140035d80
nop
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400f8857
cmp eax, 0xffffffff
je 0x1400f8866
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f8866
mov rcx, qword [rbp - 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400f888f
cmp eax, 0xffffffff
je 0x1400f8928
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f8928
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
jmp 0x1400f8928
mov rax, qword [rsp + 0x60]
cmp dword [rax + 4], 0
jne 0x1400f88e7
or rax, 0xffffffffffffffff
lea rcx, [0x1402c4b68]
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400f88c0
mov dword [rbp - 0x40], eax
mov qword [rbp - 0x38], rcx
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140022650
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.14000d5d0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1400f8918
cmp eax, 0xffffffff
je 0x1400f8926
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f8926
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140035d80
xor ebx, ebx
inc edi
cmp edi, r15d
lea rcx, [0x1401885d8]
jl 0x1400f8680
lea rsi, [0x140188608]
mov rax, qword [rsp + 0x68]
mov r15, qword [rbp + 0x70]
mov qword [r15], rax
mov qword [rsp + 0x68], rsi
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400f8973
cmp eax, 0xffffffff
je 0x1400f8986
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f8981
mov rcx, qword [rsp + 0x70]
mov r8d, 8
mov rdx, r14
call fcn.140035d80
mov rsi, qword [rsp + 0x68]
mov eax, dword [rsi]
test eax, eax
je 0x1400f89a2
cmp eax, 0xffffffff
je 0x1400f89fd
or eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x1400f89fd
mov rsi, qword [rsp + 0x68]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd rdi, dword [rsi + 8]
add rdi, 2
lea rdi, [rsi + rdi*8]
cmp rdi, rbx
je 0x1400f89f4
nop
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1400f89de
cmp eax, 0xffffffff
je 0x1400f89ef
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400f89ef
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.140035d80
cmp rbx, rdi
jne 0x1400f89c0
mov rcx, rsi
call fcn.140103190
nop
mov rax, r15
mov rbx, qword [rsp + 0x178]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret