Function at 0x14000f7b4
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x22f8
call fcn.1400332d0
sub rsp, rax
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x22e0], rax
mov dword [rsp + 0x70], r9d
mov qword [rsp + 0x88], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor ecx, ecx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x80], ecx
mov ecx, dword [rsp + 0x2340]
mov dword [rsp + 0xa0], ecx
mov rcx, rax
call fcn.14000dcf8
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x14000f830
jmp 0x14001011e
cmp word [rsi], 0x7d
je 0x14001010e
mov eax, 1
mov dword [rsp + 0x74], eax
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov ebp, ebx
cmp eax, ebx
sete bpl
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
je 0x14000f879
cmp ebp, ebx
je 0x14000f98b
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000dcf8
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
cmp dword [rsp + 0x70], edx
je 0x14000f989
mov qword [rsp + 0x90], rdx
mov dword [rsp + 0x98], edx
mov rcx, rsi
movzx eax, word [rsi]
cmp ax, dx
je 0x14000f8da
cmp ax, 0x5c
je 0x14000f8d1
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
xor edx, edx
cmp ax, dx
jne 0x14000f8b6
jmp 0x14000f8da
cmp rcx, rdx
jne 0x140010001
lea rbx, [0x140039600]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000f93b
add rbx, 8
lea rax, str.:RepeatDEL___s_if_exist___s__goto_RepeatDEL___s_DEL___s_
cmp rbx, rax
jl 0x14000f8e1
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
xor ebx, ebx
mov dword [rsp + 0x98], ebx
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.14000df80
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x98], ebx
jmp 0x14000f93d
xor ebx, ebx
cmp ebp, ebx
je 0x14000f980
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.14000dcf8
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
mov rdx, rsi
mov rcx, rbp
call fcn.14000de7c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
mov dword [rsp + 0x98], edx
jmp 0x14000ff93
mov dword [rsp + 0x98], ebx
jmp 0x14000f98b
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x14000f9c1
mov dword [rsp + 0x74], ebx
mov rdx, rsi
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.14000dcf8
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
jmp 0x14000f9c8
mov rbp, qword [rsp + 0x68]
jmp 0x14000f9ca
xor ebx, ebx
lea rdx, [0x1400395a8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x14000fb16
lea rdx, [rsp + 0x2e0]
mov rcx, rbp
call fcn.14000dcf8
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
mov rdx, rsi
mov rcx, rbp
call fcn.14000dcf8
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
cmp word [rsi], 0x3d
jne 0x140010062
cmp dword [rsp + 0x70], edx
je 0x14000fa7e
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc0], edx
mov r9, rsi
lea r8, [rsp + 0x2e0]
lea rdx, [rsp + 0xb8]
mov rcx, rbp
call fcn.14000f358
mov ebx, eax
xor edx, edx
mov qword [rsp + 0xb8], rdx
mov dword [rsp + 0xc0], edx
cmp eax, edx
jl 0x140010019
mov dword [rsp + 0xc0], edx
jmp 0x14000ff93
cmp dword [rsp + 0x2340], edx
jne 0x14000fafa
cmp dword [rsp + 0x74], edx
je 0x14000fafa
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
cmp eax, ebx
jne 0x140010052
mov rbp, qword [rsp + 0x60]
lea rdx, [rsp + 0x2e0]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x14000fae0
cmp eax, 2
jne 0x14001002e
cmp rbp, rbx
je 0x14000faf5
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
jmp 0x14000fafa
mov rbp, qword [rsp + 0x68]
mov rdx, rsi
mov rcx, rbp
call fcn.14000de7c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
jmp 0x14000ffed
mov rcx, rsi
movzx eax, word [rsi]
cmp ax, bx
je 0x14000fb43
cmp ax, 0x5c
je 0x14000fb3a
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
cmp ax, bx
jne 0x14000fb21
jmp 0x14000fb43
cmp rcx, rbx
jne 0x14001007a
cmp dword [rsp + 0x70], ebx
je 0x14000fc7d
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rsi
mov rbx, qword [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x14000fbaa
mov eax, ecx
cmp rdi, rcx
je 0x14000fb91
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x80], ecx
cmp eax, ecx
je 0x14000fc33
mov qword [rsp + 0x60], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
cmp eax, ecx
jne 0x14000fbfb
mov eax, ecx
cmp rdi, rcx
je 0x14000fbe6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x80], ecx
cmp eax, ecx
je 0x14000fc33
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14000d94c
xor edi, edi
cmp eax, edi
jne 0x140010099
mov rdi, qword [rsp + 0x78]
mov rdx, rsi
mov rcx, rbp
call fcn.14000dcf8
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
cmp word [rsi], 0x3d
jne 0x14000ff93
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rbp
call fcn.14000f358
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x140010092
mov rdi, qword [rsp + 0x78]
jmp 0x14000ff93
mov ebx, dword [rsp + 0x2340]
xor eax, eax
cmp ebx, eax
jne 0x14000fce2
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
xor eax, eax
cmp ebp, eax
jne 0x14000fce7
mov ebp, eax
cmp rdi, rax
je 0x14000fccf
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
xor eax, eax
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x80], eax
jmp 0x14000fce7
mov ebp, 2
cmp ebp, eax
mov eax, 1
cmovne ebx, eax
mov dword [rsp + 0x2340], ebx
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rsp + 0xd0]
call fcn.140023b10
xor ecx, ecx
cmp eax, ecx
je 0x14000fd3b
cmp eax, 0xc
je 0x1400100cc
cmp eax, 0x16
je 0x1400100c1
cmp eax, 0x22
je 0x1400100c1
cmp eax, 0x50
jne 0x1400100b6
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000dcf8
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000de7c
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
cmp word [rsi], 0x7b
jne 0x14000fdd1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x14000fdcf
mov eax, dword [rsp + 0x2340]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000f7b4
mov ebx, eax
xor edx, edx
cmp eax, edx
jge 0x14000fdb4
cmp dword [rsp + 0x2340], edx
je 0x14001010e
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000dcf8
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
jmp 0x14000fdd1
xor edx, edx
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x2340], eax
cmp ebp, 2
je 0x14000ffed
cmp ebp, edx
je 0x14000fdf9
cmp eax, edx
je 0x1400100d7
jmp 0x14000ffed
cmp eax, edx
je 0x14000feb1
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
jne 0x14000feb1
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
cmp eax, edx
je 0x14000feb1
lea rbp, [0x140039600]
mov rdx, qword [rbp]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
cmp eax, edx
je 0x14000ffed
add rbp, 8
lea rax, str.:RepeatDEL___s_if_exist___s__goto_RepeatDEL___s_DEL___s_
cmp rbp, rax
jl 0x14000fe5d
cmp dword [rsp + 0x74], edx
je 0x14000ffed
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x78]
call fcn.14000df80
mov rdi, qword [rsp + 0x78]
xor edx, edx
jmp 0x14000ffed
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
cmp eax, edx
je 0x14000fefd
mov ebp, edx
jmp 0x14000ff07
mov ebp, edx
cmp dword [rsp + 0x60], edx
seta bpl
mov eax, edx
cmp rdi, rdx
je 0x14000ff21
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rdi, rdx
mov qword [rsp + 0x78], rdx
mov dword [rsp + 0x80], edx
cmp eax, edx
jne 0x1400100f1
cmp dword [rsp + 0x74], edx
je 0x14000ffed
cmp ebp, edx
jne 0x14000ffed
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], edx
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xa8]
call fcn.14000d8c8
xor edx, edx
mov qword [rsp + 0xa8], rdx
mov dword [rsp + 0xb0], edx
cmp eax, edx
jne 0x1400100e4
mov dword [rsp + 0xb0], edx
mov rbp, qword [rsp + 0x68]
cmp dword [rsp + 0x70], edx
je 0x14000ffed
cmp word [rsi], 0x7b
jne 0x14000ffed
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x14000ffeb
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x70]
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14000f7b4
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
mov rdx, rsi
mov rcx, rbp
call fcn.14000dcf8
mov ebx, eax
xor edx, edx
cmp eax, edx
jl 0x14001010e
jmp 0x14000ffed
xor edx, edx
cmp word [rsi], 0x7d
je 0x14001010e
mov eax, 1
jmp 0x14000f83f
cmp rdi, rdx
je 0x14001000f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14001011e
cmp rdi, rdx
je 0x140010027
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14001011e
mov ecx, eax
call fcn.14000d820
mov ebx, eax
xor edx, edx
cmp rbp, rdx
je 0x14001010e
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
jmp 0x14001010e
mov ecx, eax
call fcn.14000d820
mov ebx, eax
xor edx, edx
jmp 0x14001010e
cmp rdi, rdx
je 0x140010070
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14001011e
cmp rdi, rbx
je 0x140010088
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14001011e
mov rdi, qword [rsp + 0x78]
jmp 0x14001010e
mov ecx, eax
call fcn.14000d820
mov ebx, eax
mov rcx, qword [rsp + 0x78]
cmp rcx, rdi
je 0x1400100b2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14001011e
mov ecx, 0x80004005
call fcn.14000d7e0
int3
mov ecx, 0x80070057
call fcn.14000d7e0
int3
mov ecx, 0x8007000e
call fcn.14000d7e0
int3
mov ecx, ebp
call fcn.14000d820
mov ebx, eax
xor edx, edx
jmp 0x14001010e
mov ecx, eax
call fcn.14000d820
mov ebx, eax
xor edx, edx
jmp 0x14001010e
mov ecx, eax
call fcn.14000d820
mov ebx, eax
xor eax, eax
cmp rdi, rax
je 0x14001010a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14001011e
cmp rdi, rdx
je 0x14001011c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x22e0]
xor rcx, rsp
call fcn.140021e20
add rsp, 0x22f8
pop rdi
pop rsi
pop rbp
pop rbx
ret