Function at 0x14009bb40
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov r11, rsp
push rbp
push rdi
sub rsp, 0x98
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp byte [0x1402c63a9], cl
movzx ebp, dl
movzx edi, cl
je 0x14009be01
mov r8, qword [0x1402be018]
mov word [r11 - 0x78], r8w
lea eax, [r8 + 2]
mov word [rsp + 0x32], ax
mov rax, qword [str.SoftwareMicrosoftWindowsCurrentVersionRun]
mov qword [r11 - 0x70], rax
cmp r8, 0xfffe
ja 0x14009be01
lea rax, ds:[r11 - 0x68]
mov qword [r11 + 8], rbx
lea r9, [r11 - 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [r11 - 0x78]
mov rcx, 0xfffffffffffffff7
call fcn.14016ae40
mov ebx, eax
test eax, eax
js 0x14009bbf8
lea r8, ds:[rsp + 0x48]
mov edx, 0x20006
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x14009bbf8
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test ebx, ebx
js 0x14009bdf9
mov qword [rsp + 0xb8], rsi
test dil, dil
je 0x14009bdad
call sym.SystemInformer.exe_Ordinal_1639
mov rsi, rax
test rax, rax
je 0x14009bde6
mov rdx, qword [rax]
mov rcx, qword [0x1402be1a8]
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0x90], r15
lea rbx, [rdx + rcx*2]
mov rdx, qword [0x1402c5ff0]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_Ordinal_1240
xor r15d, r15d
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r15w
mov rbx, qword [rax + 8]
mov r8, qword [0x1402be1a8]
mov rcx, rbx
mov rdx, qword [0x1402be1b0]
call fcn.14020c7e0
add rbx, qword [0x1402be1a8]
mov r8, qword [rsi]
mov rcx, rbx
mov rdx, qword [rsi + 8]
call fcn.14020c7e0
add rbx, qword [rsi]
mov r8, qword [0x1402be1a8]
mov rcx, rbx
mov rdx, qword [0x1402be1b0]
call fcn.14020c7e0
mov rcx, rdi
call sym.SystemInformer.exe_Ordinal_1238
mov r14, rax
test bpl, bpl
je 0x14009bd2e
mov rbx, qword [rax]
mov rdx, qword [0x1402c5ff0]
add rbx, 0xc
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_Ordinal_1240
mov rdi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r15w
mov r8, qword [r14]
mov rdx, qword [r14 + 8]
mov rcx, qword [rax + 8]
call fcn.14020c7e0
mov rcx, qword [rdi + 8]
mov rdx, qword [r14]
movsd xmm0, qword [str.__hide]
movsd qword [rdx + rcx], xmm0
mov eax, dword [0x140268cd8]
mov dword [rdx + rcx + 8], eax
mov rcx, rdi
call sym.SystemInformer.exe_Ordinal_1238
mov r14, rax
mov rcx, qword [0x1402be1b8]
mov edx, dword [r14]
mov r8, qword [r14 + 8]
add edx, 2
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0xc0]
lea eax, [rcx + 2]
mov word [rsp + 0x32], ax
mov rax, qword [str.HJ_]
mov qword [rsp + 0x38], rax
mov word [rsp + 0x30], cx
cmp rcx, 0xfffe
ja 0x14009bd93
mov rcx, qword [rsp + 0x78]
mov r9d, 1
mov dword [rsp + 0x28], edx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtSetValueKey]
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14009bde6
call fcn.140143da0
jmp 0x14009bde6
mov rcx, qword [0x1402be1b8]
mov word [rsp + 0x30], cx
lea eax, [rcx + 2]
mov word [rsp + 0x32], ax
mov rax, qword [str.HJ_]
mov qword [rsp + 0x38], rax
cmp rcx, 0xfffe
ja 0x14009bde6
mov rcx, qword [rsp + 0x78]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
mov rsi, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0x98
pop rdi
pop rbp
ret