Function at 0x14001d5b0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rdx
mov r13, rcx
lea rsi, [rcx + 0x10]
mov r15, qword [rsi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 0xd
jb 0x14001d873
cmp qword [rsi + 0x18], 8
jb 0x14001d608
mov rsi, qword [rsi]
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
lea rbp, [r15 + 0xd]
mov ebx, 7
lea r14, [rsp + 0x40]
cmp rbp, rbx
jbe 0x14001d682
mov rbx, rbp
or rbx, 7
cmp rbx, rcx
jbe 0x14001d63e
mov rbx, rcx
jmp 0x14001d64a
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14001d879
lfence
add rcx, rcx
call fcn.140012d70
mov r14, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.1401a9040
movups xmm0, xmmword [str.HealthEvents]
movups xmmword [rbx + r14], xmm0
movsd xmm1, qword [0x14020ad28]
movsd qword [rbx + r14 + 0x10], xmm1
movzx eax, word [0x14020ad30]
mov word [rbx + r14 + 0x18], ax
mov word [r14 + rbp*2], r12w
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov r9d, 0x20206
mov rdx, qword [r13 + 8]
lea rcx, [rsp + 0x60]
call fcn.140018800
mov rbx, qword [rsp + 0x60]
test eax, eax
jne 0x14001d781
cmp qword [rdi + 0x18], 8
jb 0x14001d712
mov rdi, qword [rdi]
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x14001d7f9
cmp qword [rsi], 0
je 0x14001d76e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001d781
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001d781
mov qword [rsp + 0x28], r12
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [case.0x1400d90b6.0]
jmp 0x14001d781
cmp dword [rsi + 8], 0
je 0x14001d781
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
test rbx, rbx
je 0x14001d78f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001d7d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d7cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d86d
call fcn.1401853a0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140185380
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp byte [0x1402a0ee8], 0
jne 0x14001d844
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001d834
lea rdx, [0x14020a450]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402a0ee0], rax
mov byte [0x1402a0ee8], 1
jmp 0x14001d84b
mov rax, qword [0x1402a0ee0]
mov byte [0x1402a0ee8], 1
jmp 0x14001d84b
mov rax, qword [0x1402a0ee0]
test rax, rax
je 0x14001d774
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, rdi
mov rcx, rbx
call qword [case.0x1400d90b6.0]
jmp 0x14001d781
call fcn.1401b3c00
int3
call fcn.140008810
int3
call fcn.140008770
int3