Function at 0x1800219a0
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 [0x1801548a8]
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 0x180021caa
xor r15d, r15d
mov r12d, r15d
mov dword [rsp + 0x48], r15d
nop dword [rax]
test r12d, r12d
jne 0x180021caa
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 0x180021a4e
mov r12d, 1
mov dword [rsp + 0x48], r12d
jmp 0x180021a00
mov r14b, 1
mov rdi, qword [rbx + 0x20]
cmp dword [rdi - 0x10], 0
je 0x180021bc7
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.1800c61d0
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 0x180021b74
mov edx, dword [rsp + 0x44]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.180021710
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
call fcn.1800c5d60
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 0x180021b3f
lea rax, [rsp + 0x50]
cmp rsi, rax
je 0x180021b8c
movzx r9d, byte [rsp + 0x40]
mov r8, r13
mov rdx, rdi
mov rcx, rsi
call fcn.1800215b0
jmp 0x180021b87
cmovbe r8, rax
mov rcx, rdi
call fcn.1800c5c60
test eax, eax
je 0x180021b6f
lea rax, [rsp + 0x50]
cmp rsi, rax
je 0x180021b8c
movzx r9d, byte [rsp + 0x40]
mov r8, r13
mov rdx, rdi
mov rcx, rsi
call fcn.1800215b0
jmp 0x180021b87
xor r14b, r14b
jmp 0x180021b8c
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 0x180021bc7
mov rdx, qword [rsp + 0x60]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x180021bbe
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180021cd9
mov rcx, rdi
call fcn.1800965cc
nop
test r14b, r14b
je 0x180021c68
mov rdi, qword [rbx + 0x28]
mov rsi, qword [rbx + 0x20]
mov rcx, qword [0x180163440]
test rcx, rcx
jne 0x180021c3f
lea rcx, [0x180152138]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x180163440], 0
jne 0x180021c2b
mov ecx, 0x40
call fcn.1800969c8
mov qword [rsp + 0x98], rax
test rax, rax
je 0x180021c1c
mov rcx, rax
call fcn.180020080
jmp 0x180021c1f
mov rax, r15
lock or dword [rsp], 0
mov qword [0x180163440], rax
lea rcx, [0x180152138]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x180163440]
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.180022ad0
nop
jmp 0x180021c77
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 0x180021a00
xor eax, eax
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.180096b80
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.1800c9338
int3