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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov rax, qword [0x1400425e0]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
lea rdx, [0x140033af0]
lea rcx, [rsp + 0x128]
call fcn.140001b00
nop
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x108]
call fcn.140001b00
nop
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x108]
call fcn.14000cac0
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x108]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x128]
call fcn.14000e180
cmp dword [rsp + 0x30], 2
jae 0x140013c14
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x90]
call fcn.14000e300
mov eax, dword [rsp + 0x54]
jmp 0x140013f15
xor eax, eax
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 0x10
jb 0x140013c55
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x140013c5f
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xc0]
call fcn.140001a10
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.14000c9f0
mov rcx, rax
call fcn.14000c8c0
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x20]
call fcn.140001940
nop
mov rax, qword [rsp + 0xc0]
sub rax, 0x18
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.140009650
lea rdx, str.HKCR
lea rcx, [rsp + 0x20]
call fcn.140003470
test eax, eax
jne 0x140013cfd
mov qword [rsp + 0x38], 0xffffffff80000000
jmp 0x140013d8f
lea rdx, [0x140034850]
lea rcx, [rsp + 0x20]
call fcn.140003470
test eax, eax
je 0x140013d27
lea rdx, str.HKLM
lea rcx, [rsp + 0x20]
call fcn.140003470
test eax, eax
jne 0x140013d32
mov qword [rsp + 0x38], 0xffffffff80000002
jmp 0x140013d8f
lea rdx, str.HKCU
lea rcx, [rsp + 0x20]
call fcn.140003470
test eax, eax
jne 0x140013d52
mov qword [rsp + 0x38], 0xffffffff80000001
jmp 0x140013d8f
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x20]
sub rax, 0x18
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140009650
nop
lea rcx, [rsp + 0x90]
call fcn.14000e300
mov eax, dword [rsp + 0x50]
jmp 0x140013f15
cmp dword [rsp + 0x30], 3
jae 0x140013e09
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0x10
jb 0x140013de3
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
jmp 0x140013df0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [rsp + 0x2c], eax
jmp 0x140013ebe
mov eax, 2
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 0x10
jb 0x140013e4d
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x140013e57
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 0x10
jb 0x140013e9b
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
jmp 0x140013ea5
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jne 0x140013ecf
mov dword [rsp + 0x28], 1
jmp 0x140013ed7
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x20]
sub rax, 0x18
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140009650
nop
lea rcx, [rsp + 0x90]
call fcn.14000e300
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x158
ret