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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x408]
sub rsp, 0x4f0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1800900b0]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.18003eed0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1d0]
call fcn.18003eed0
lea r9, str.FishingJoy
lea r8, str._shellexContextMenuHandlers_
lea rdx, str._s_s
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, str.FishingJoy
lea r8, str._shellexDragDropHandlers_
lea rdx, str._s_s
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.USER32.dll_wsprintfW]
movdqa xmm0, xmmword [0x18006c680]
movdqu xmmword [rbp - 0x70], xmm0
xor r15d, r15d
mov word [rbp - 0x80], r15w
lea r8d, [r15 + 6]
lea rdx, str.CLSID_
lea rcx, [rbp - 0x80]
call fcn.180005be0
nop
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 0x26
jb 0x18001be24
lea rdi, [rcx + 0x26]
mov qword [rbp - 0x70], rdi
lea rbx, [rbp - 0x80]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x80]
lea rcx, [rbx + rcx*2]
lea r8d, [r15 + 0x4c]
lea rdx, str.F49F768E_277C_4E25_A591_4F947B148544
call fcn.18003e0a0
mov word [rbx + rdi*2], r15w
jmp 0x18001be46
xor eax, eax
mov qword [rsp + 0x20], 0x26
lea r9, str.F49F768E_277C_4E25_A591_4F947B148544
movzx r8d, al
lea edx, [rax + 0x26]
lea rcx, [rbp - 0x80]
call fcn.180005680
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov rsi, qword [rbp - 0x70]
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rbx, qword [rbp - 0x80]
mov r12, 0xffffffffffffffff
cmp rsi, 8
jae 0x18001be89
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], 7
lea r14d, [r12 + 8]
jmp 0x18001bf1f
mov r14, rsi
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmova r14, rax
lea rax, [r14 + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x18001bebd
mov rdx, r12
jmp 0x18001bec6
cmp rdx, 0x1000
jb 0x18001bef0
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, r12
call fcn.18001f904
mov rcx, rax
test rax, rax
je 0x18001c318
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18001bf02
test rdx, rdx
je 0x18001beff
mov rcx, rdx
call fcn.18001f904
jmp 0x18001bf02
mov rax, r15
mov qword [rsp + 0x60], rax
lea r8, [rsi*2 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.18003e0a0
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rsi
mov rax, r14
sub rax, rsi
cmp rax, 0xf
jb 0x18001bf65
lea rdi, [rsi + 0xf]
mov qword [rsp + 0x70], rdi
lea rbx, [rsp + 0x60]
cmp r14, 8
cmovae rbx, qword [rsp + 0x60]
lea rcx, [rbx + rsi*2]
mov r8d, 0x1e
lea rdx, str.InprocServer32
call fcn.18003e0a0
mov word [rbx + rdi*2], r15w
jmp 0x18001bf88
xor eax, eax
mov qword [rsp + 0x20], 0xf
lea r9, str.InprocServer32
movzx r8d, al
lea edx, [rax + 0xf]
lea rcx, [rsp + 0x60]
call fcn.180005680
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18001c009
lea rdx, str.F49F768E_277C_4E25_A591_4F947B148544
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.18001b330
mov r14, rax
mov rbx, qword [rax]
cmp rbx, qword [rax + 8]
je 0x18001c251
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18001c02b
mov rdx, qword [rbx]
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
mov r8, r12
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x18001c040
lea rcx, [rbp - 0x60]
call fcn.180005be0
nop
lea rax, [rbp - 0x40]
mov rdx, r12
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x18001c060
mov rcx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x48]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x18001c0aa
lea rsi, [rcx + rdx]
mov qword [rbp - 0x50], rsi
lea rdi, [rbp - 0x60]
cmp r8, 8
cmovae rdi, qword [rbp - 0x60]
lea r8, [rdx + rdx]
lea rcx, [rdi + rcx*2]
lea rdx, [rbp - 0x40]
call fcn.18003e0a0
mov word [rdi + rsi*2], r15w
jmp 0x18001c0c2
xor eax, eax
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x40]
movzx r8d, al
lea rcx, [rbp - 0x60]
call fcn.180005680
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18001c0ea
mov rdx, qword [rbx]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov r8, r12
inc r8
cmp word [rdx + r8*2], 0
jne 0x18001c101
lea rcx, [rsp + 0x40]
call fcn.180005be0
nop
lea rax, [rbp + 0x1d0]
mov rdx, r12
inc rdx
cmp word [rax + rdx*2], 0
jne 0x18001c121
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x18001c173
lea rsi, [rcx + rdx]
mov qword [rsp + 0x50], rsi
lea rdi, [rsp + 0x40]
cmp r8, 8
cmovae rdi, qword [rsp + 0x40]
lea r8, [rdx + rdx]
lea rcx, [rdi + rcx*2]
lea rdx, [rbp + 0x1d0]
call fcn.18003e0a0
mov word [rdi + rsi*2], r15w
jmp 0x18001c18f
xor eax, eax
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x1d0]
movzx r8d, al
lea rcx, [rsp + 0x40]
call fcn.180005680
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18001c1f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c1eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c31e
call fcn.18001f4e0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x18001c244
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c23f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c324
call fcn.18001f4e0
add rbx, 0x20
cmp rbx, qword [r14 + 8]
jmp 0x18001c018
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18001c293
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c28e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c32a
call fcn.18001f4e0
movdqa xmm0, xmmword [0x18006c680]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r15w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x18001c2e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001c2de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001c330
call fcn.18001f4e0
mov eax, 1
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.18001fcf0
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180041e0c
nop
call fcn.180041e0c
nop
call fcn.180041e0c
nop
call fcn.180041e0c
nop
call fcn.180041e0c
int3