Function at 0x18001ad10
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x408]
sub rsp, 0x500
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.18001f6b0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call fcn.18001f6b0
lea rbx, str.PuddingZip
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 1
lea r8, str._shellexContextMenuHandlers_
lea rdx, str._s_c_c_c_c_s
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 1
lea r8, str._shellexDragDropHandlers_
lea rdx, str._s_c_c_c_c_s
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rbp - 0x58], 7
xor esi, esi
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
lea r8d, [rsi + 6]
lea rdx, str.CLSID_
lea rcx, [rbp - 0x70]
call fcn.180002310
nop
lea r8d, [rsi + 0x26]
lea rdx, str.A33D4DD6_2466_4E70_8B60_FECFB0EE1B8A
lea rcx, [rbp - 0x70]
call fcn.180009960
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1800021d0
nop
lea r8d, [rsi + 0xf]
lea rdx, str.InprocServer32
lea rcx, [rsp + 0x70]
call fcn.180009960
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 2]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18001aee6
lea rdx, str.A33D4DD6_2466_4E70_8B60_FECFB0EE1B8A
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.18001a280
mov rdi, rax
mov rbx, qword [rax]
movabs r14, 0x7fffffffffffffff
cmp rbx, qword [rax + 8]
je 0x18001b125
cmp qword [rbx + 0x18], 8
jb 0x18001af11
mov rdx, qword [rbx]
jmp 0x18001af14
mov rdx, rbx
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x50], si
cmp word [rdx], 0
jne 0x18001af2f
mov r8, rsi
jmp 0x18001af3e
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x18001af33
lea rcx, [rbp - 0x50]
call fcn.180002310
nop
cmp word [rbp - 0x30], 0
jne 0x18001af54
mov r8, rsi
jmp 0x18001af6b
lea rax, [rbp - 0x30]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18001af60
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.180009960
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp qword [rbx + 0x18], 8
jb 0x18001af9f
mov rdx, qword [rbx]
jmp 0x18001afa2
mov rdx, rbx
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
cmp word [rdx], 0
jne 0x18001afc0
mov r8, rsi
jmp 0x18001afcf
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x18001afc4
lea rcx, [rsp + 0x50]
call fcn.180002310
nop
cmp word [rbp + 0x1e0], 0
jne 0x18001afe9
mov r8, rsi
jmp 0x18001afff
lea rax, [rbp + 0x1e0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x18001aff4
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x50]
call fcn.180009960
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x18001b083
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, r14
ja 0x18001b101
add rax, rax
cmp rax, 0x1000
jb 0x18001b07e
test cl, 0x1f
jne 0x18001b0fb
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x18001b0f5
sub rcx, rax
cmp rcx, 8
jb 0x18001b0ef
cmp rcx, 0x27
ja 0x18001b0e9
mov rcx, rax
call fcn.18001d718
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
mov rax, qword [rbp - 0x38]
cmp rax, 8
jb 0x18001b0dc
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, r14
ja 0x18001b11f
add rax, rax
cmp rax, 0x1000
jb 0x18001b0d7
test cl, 0x1f
jne 0x18001b119
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x18001b113
sub rcx, rax
cmp rcx, 8
jb 0x18001b10d
cmp rcx, 0x27
ja 0x18001b107
mov rcx, rax
call fcn.18001d718
add rbx, 0x20
cmp rbx, qword [rdi + 8]
jmp 0x18001aeff
call fcn.180021d34
int3
call fcn.180021d34
int3
call fcn.180021d34
int3
call fcn.180021d34
int3
call fcn.180021d34
nop
call fcn.180021d34
int3
call fcn.180021d34
int3
call fcn.180021d34
int3
call fcn.180021d34
int3
call fcn.180021d34
nop
mov rax, qword [rbp - 0x78]
cmp rax, 8
jb 0x18001b18c
inc rax
mov rcx, qword [rsp + 0x70]
cmp rax, r14
jbe 0x18001b142
call fcn.180021d34
int3
add rax, rax
cmp rax, 0x1000
jb 0x18001b187
test byte [rsp + 0x70], 0x1f
je 0x18001b15a
call fcn.180021d34
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001b169
call fcn.180021d34
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001b178
call fcn.180021d34
int3
cmp rcx, 0x27
jbe 0x18001b184
call fcn.180021d34
int3
mov rcx, rax
call fcn.18001d718
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
mov rax, qword [rbp - 0x58]
cmp rax, 8
jb 0x18001b202
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, r14
jbe 0x18001b1b9
call fcn.180021d34
int3
add rax, rax
cmp rax, 0x1000
jb 0x18001b1fd
test byte [rbp - 0x70], 0x1f
je 0x18001b1d0
call fcn.180021d34
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001b1df
call fcn.180021d34
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001b1ee
call fcn.180021d34
int3
cmp rcx, 0x27
jbe 0x18001b1fa
call fcn.180021d34
int3
mov rcx, rax
call fcn.18001d718
mov eax, 1
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.18001d7b0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret