Function at 0x14005fd60
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, r8
mov rcx, rdx
mov rdx, rax
movzx r8d, r9b
jmp 0x140083fe0
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rbp + 0x40], rax
movzx r13d, r8b
mov r15, rdx
mov qword [rbp - 0x68], rcx
xor edi, edi
mov dword [rsp + 0x54], edi
test dword [rcx + 0x118], 0x400
je 0x140084031
call fcn.1400847d0
jmp 0x14008477c
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
mov ebx, 4
cmp qword [rdx + 0x10], rbx
cmovb rbx, qword [rdx + 0x10]
mov r12, r15
cmp qword [rdx + 0x18], 8
jb 0x14008405b
mov r12, qword [rdx]
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x1400847a9
mov qword [rbp - 0x48], 7
cmp rbx, 8
jae 0x1400840a1
mov qword [rbp - 0x50], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.14009d3c0
mov word [rbp + rbx - 0x60], di
mov rdi, qword [rbp - 0x48]
mov r14, qword [rbp - 0x60]
jmp 0x1400840f2
mov rdi, rbx
or rdi, 7
cmp rdi, rsi
jbe 0x1400840b2
mov rdi, rsi
jmp 0x1400840be
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x60]
call fcn.1400037f0
mov r14, rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
add rbx, rbx
mov r8, rbx
mov rdx, r12
mov rcx, rax
call fcn.14009d3c0
xor eax, eax
mov word [rbx + r14], ax
mov r12d, 1
mov dword [rsp + 0x54], r12d
lea rcx, [rbp - 0x60]
call fcn.140085680
mov qword [rsp + 0x78], rax
and r12d, 0xfffffffe
mov dword [rsp + 0x54], r12d
cmp rdi, 8
jb 0x14008414f
lea rdx, [rdi*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140084147
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400847a3
mov rcx, r14
call fcn.14009bfe4
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], ax
mov rdi, 0xffffffffffffffff
mov r9, rdi
lea r8d, [rax + 5]
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.14000a520
nop
lea r8, str.AutorunsDisabled
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1400089f0
nop
test r13b, r13b
je 0x140084305
mov r14, qword [rbp - 0x30]
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rax, qword [rbp - 0x40]
mov qword [rsp + 0x60], rax
mov r15, qword [rbp - 8]
cmp r14, r15
ja 0x1400841e9
lea rbx, [rbp - 0x20]
cmp r15, 8
cmovae rbx, qword [rbp - 0x20]
mov qword [rbp - 0x10], r14
lea r8, [r14 + r14]
mov rdx, rax
mov rcx, rbx
call fcn.14009d3c0
xor eax, eax
mov word [rbx + r14*2], ax
xor r14d, r14d
jmp 0x140084291
cmp r14, rsi
ja 0x1400847af
mov rcx, r14
or rcx, 7
cmp rcx, rsi
ja 0x14008421d
mov rdx, r15
shr rdx, 1
mov rax, rsi
sub rax, rdx
cmp r15, rax
ja 0x14008421d
lea rax, [r15 + rdx]
mov rsi, rcx
cmp rcx, rax
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x20]
call fcn.1400037f0
mov r13, rax
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], rsi
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.14009d3c0
xor r14d, r14d
mov word [rbx + r13], r14w
cmp r15, 8
jb 0x14008428d
lea rdx, [r15*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084288
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400847b5
call fcn.14009bfe4
mov qword [rbp - 0x20], r13
lea r9, str.AutorunsDisabled
nop dword [rax + rax]
inc rdi
cmp word [r9 + rdi*2], 0
jne 0x1400842a0
mov rsi, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x1400842ee
lea rax, [rsi + rdi]
mov qword [rbp - 0x30], rax
lea rbx, [rbp - 0x40]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x40]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call fcn.14009d3c0
lea rax, [rsi + rdi]
mov word [rbx + rax*2], r14w
jmp 0x140084305
mov qword [rsp + 0x20], rdi
movzx r8d, byte [rsp + 0x58]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140007950
xor r15d, r15d
mov edi, r15d
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], r15d
mov qword [rbp - 0x70], r15
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x3011f
xor r8d, r8d
mov r14, qword [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400846c2
mov dword [rbp - 0x78], r15d
mov rdi, qword [rsp + 0x68]
mov qword [rbp - 0x80], rdi
mov dword [rbp - 0x78], 0x100
test rdi, rdi
je 0x1400846c2
mov dword [rsp + 0x50], r15d
mov rbx, qword [rbp - 0x68]
add rbx, 0xf0
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008438d
mov rdx, qword [rbx]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400844e8
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.140003640
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400843d1
mov rdx, qword [rbx]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rsi, r15
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], r15d
mov qword [rbp - 0x50], r15
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400844b8
mov dword [rbp - 0x58], r15d
mov rsi, qword [rsp + 0x60]
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x58], r15d
test rsi, rsi
je 0x1400844b8
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140084474
mov rdx, qword [rbx]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400844b8
cmp qword [rbx + 0x18], 8
jb 0x1400844a5
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
sete bl
jmp 0x1400844ba
xor bl, bl
test rsi, rsi
je 0x1400844cc
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], r15d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400846c4
call fcn.14009bfe4
jmp 0x1400846c4
mov rsi, r15
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], r15d
mov qword [rbp - 0x50], r15
lea r8, [0x1400eff20]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400089f0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140084519
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140006fe0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
or r12d, 0x10
mov dword [rsp + 0x54], r12d
lea rdx, [rbp]
mov qword [rsp + 0x60], r15
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400845bc
mov dword [rbp - 0x58], r15d
mov rsi, qword [rsp + 0x60]
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x58], 0x100
and r12d, 0xffffffef
mov dword [rsp + 0x54], r12d
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140084605
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084600
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400847bb
call fcn.14009bfe4
movdqa xmm0, xmmword [0x1400f80d0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140084657
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084652
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400847c1
call fcn.14009bfe4
movdqa xmm0, xmmword [0x1400f80d0]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r15w
test rsi, rsi
je 0x1400846a8
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008467b
mov rdx, qword [rbx]
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCopyTreeW]
test eax, eax
jne 0x1400846a8
cmp qword [rbx + 0x18], 8
jb 0x140084695
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
sete bl
jmp 0x1400846aa
xor bl, bl
test rsi, rsi
je 0x1400846bc
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], r15d
jmp 0x1400846c4
xor bl, bl
test rdi, rdi
je 0x1400846d6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], r15d
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14008471a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084715
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400847c7
call fcn.14009bfe4
movdqa xmm0, xmmword [0x1400f80d0]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140084768
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084763
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400847a3
call fcn.14009bfe4
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
movzx eax, bl
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14009c570
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a3080
nop
call fcn.140003690
nop
call fcn.140003690
int3
call fcn.1400a3080
nop
call fcn.1400a3080
nop
call fcn.1400a3080
nop
call fcn.1400a3080
int3