Function at 0x1800217e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8c0
mov qword [rax - 0x858], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180146748]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
mov rbx, rcx
mov qword [rsp + 0x70], rcx
mov rsi, rcx
mov qword [rsp + 0x78], rcx
cmp dword [rcx], 0
je 0x180021aea
xor r15d, r15d
mov r12d, r15d
mov dword [rsp + 0x48], r15d
nop dword [rax]
test r12d, r12d
jne 0x180021aea
mov rax, qword [rbx + 8]
mov qword [rsp + 0x80], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x88], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea ecx, [r12 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x18002188e
mov r12d, 1
mov dword [rsp + 0x48], r12d
jmp 0x180021840
mov r14b, 1
mov rdi, qword [rbx + 0x20]
cmp dword [rdi - 0x10], 0
je 0x180021a07
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x44], 0x800
mov dword [rsp + 0x68], 3
xor edx, edx
mov r8d, 0x801
lea rcx, [rsp + 0xa0]
call fcn.1800bbd80
mov rax, qword [rbx + 0x28]
mov r8, r15
cmp dword [rax - 0x10], 0
cmovne r8, rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1800219b4
mov edx, dword [rsp + 0x44]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.180021550
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
call fcn.1800bb910
mov r13, qword [rsp + 0x58]
mov rax, r13
mov rdi, qword [rsp + 0x50]
sub rax, rdi
lea rsi, [rbx + 0x30]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
cmp rax, r8
je 0x18002197f
lea rax, [rsp + 0x50]
cmp rsi, rax
je 0x1800219cc
movzx r9d, byte [rsp + 0x40]
mov r8, r13
mov rdx, rdi
mov rcx, rsi
call fcn.1800213f0
jmp 0x1800219c7
cmovbe r8, rax
mov rcx, rdi
call fcn.1800bb810
test eax, eax
je 0x1800219af
lea rax, [rsp + 0x50]
cmp rsi, rax
je 0x1800219cc
movzx r9d, byte [rsp + 0x40]
mov r8, r13
mov rdx, rdi
mov rcx, rsi
call fcn.1800213f0
jmp 0x1800219c7
xor r14b, r14b
jmp 0x1800219cc
mov rcx, qword [rbx + 0x30]
mov rax, qword [rbx + 0x38]
mov qword [rsi + 0x38], rcx
cmp rcx, rax
setne r14b
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x180021a07
mov rdx, qword [rsp + 0x60]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800219fe
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180021b19
mov rcx, rdi
call fcn.18008c16c
nop
test r14b, r14b
je 0x180021aa8
mov rdi, qword [rbx + 0x28]
mov rsi, qword [rbx + 0x20]
mov rcx, qword [0x1801552e0]
test rcx, rcx
jne 0x180021a7f
lea rcx, [0x180144138]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1801552e0], 0
jne 0x180021a6b
mov ecx, 0x40
call fcn.18008c568
mov qword [rsp + 0x98], rax
test rax, rax
je 0x180021a5c
mov rcx, rax
call fcn.18001fec0
jmp 0x180021a5f
mov rax, r15
lock or dword [rsp], 0
mov qword [0x1801552e0], rax
lea rcx, [0x180144138]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1801552e0]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 4
mov eax, dword [rbx + 0x4c]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8, rsi
mov rdx, qword [rbx + 0x10]
call fcn.180022910
nop
jmp 0x180021ab7
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [rsp + 0x20], 1
mov r9, qword [rbx + 8]
mov r8d, 4
mov edx, dword [rbx + 0x48]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
mov rsi, qword [rsp + 0x78]
jmp 0x180021840
xor eax, eax
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.18008c720
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1800beee8
int3