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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21d8]
mov eax, 0x22d8
call fcn.1400617c0
sub rsp, rax
mov rax, qword [0x140090008]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
xor esi, esi
mov dword [rsp + 0x68], r9d
mov r14d, esi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov r15d, esi
mov qword [rbp - 0x78], rsi
mov rdi, rdx
mov qword [rsp + 0x70], r8
mov r13, rcx
call fcn.14000e524
mov ebx, eax
test eax, eax
js 0x14000eb54
cmp word [rdi], 0x7d
je 0x14000eb46
lea rdx, str.Delete
mov rcx, rdi
mov r12d, 1
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
lea rdx, str.ForceRemove
test eax, eax
mov esi, ebx
mov rcx, rdi
sete sil
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000e76c
test esi, esi
je 0x14000e845
mov rdx, rdi
mov rcx, r13
call fcn.14000e524
mov ebx, eax
test eax, eax
js 0x14000eb46
xor ebx, ebx
cmp dword [rsp + 0x68], ebx
je 0x14000e845
movzx eax, word [rdi]
mov rcx, rdi
mov qword [rbp - 0x68], rbx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
jmp 0x14000e7b2
cmp ax, 0x5c
je 0x14000e7b9
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000e7a0
jmp 0x14000e7c2
test rcx, rcx
jne 0x14000ef53
lea rbx, [0x140071780]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000e809
add rbx, 8
lea rax, vtable._.0
cmp rbx, rax
jl 0x14000e7c9
mov rax, qword [rsp + 0x70]
lea rcx, [rbp - 0x68]
xor ebx, ebx
mov qword [rbp - 0x68], rax
mov rdx, rdi
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
call fcn.14000c710
jmp 0x14000e80b
xor ebx, ebx
test esi, esi
je 0x14000e845
mov rdx, rdi
mov rcx, r13
call fcn.14000e524
xor r15d, r15d
mov ebx, eax
test eax, eax
js 0x14000eb46
mov rdx, rdi
mov rcx, r13
call fcn.14000e45c
mov ebx, eax
test eax, eax
js 0x14000eb46
mov esi, dword [rsp + 0x68]
jmp 0x14000ebb1
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000e873
mov rdx, rdi
mov rcx, r13
mov r12d, ebx
call fcn.14000e524
mov ebx, eax
test eax, eax
js 0x14000eb46
xor ebx, ebx
lea rdx, [0x140071660]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000e97d
lea rdx, [rbp + 0x1c0]
mov rcx, r13
call fcn.14000e524
xor r15d, r15d
mov ebx, eax
test eax, eax
js 0x14000eb46
mov rdx, rdi
mov rcx, r13
call fcn.14000e524
mov ebx, eax
test eax, eax
js 0x14000eb46
cmp word [rdi], 0x3d
jne 0x14000ef53
mov esi, dword [rsp + 0x68]
test esi, esi
je 0x14000e8fa
mov rax, qword [rsp + 0x70]
lea r8, [rbp + 0x1c0]
mov r9, rdi
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x68]
mov dword [rbp - 0x60], r15d
mov rcx, r13
mov qword [rbp - 0x58], r15
call fcn.14000df80
jmp 0x14000ebab
cmp dword [rbp + 0x2240], r15d
jne 0x14000e963
test r12d, r12d
je 0x14000e963
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x60], r15
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000eb3d
mov rsi, qword [rsp + 0x60]
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14000ef33
test rsi, rsi
je 0x14000e963
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r13
call fcn.14000e45c
mov ebx, eax
test eax, eax
js 0x14000eb46
jmp 0x14000ef20
movzx eax, word [rdi]
mov rcx, rdi
jmp 0x14000e997
cmp ax, 0x5c
je 0x14000e99e
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000e985
jmp 0x14000e9a7
test rcx, rcx
jne 0x14000ef53
mov esi, dword [rsp + 0x68]
test esi, esi
je 0x14000ec03
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
test r15, r15
je 0x14000e9e7
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8, rdi
mov dword [rsp + 0x20], 0x2001f
mov rdx, rbx
mov rcx, r15
call fcn.14000cb20
jmp 0x14000ea01
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r12d, r12d
test eax, eax
jne 0x14000ea2f
mov eax, r12d
test r14, r14
je 0x14000ea19
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r12d
test eax, eax
je 0x14000eb79
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
test r15, r15
je 0x14000ea5e
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8, rdi
mov dword [rsp + 0x20], 0x20019
mov rdx, rbx
mov rcx, r15
call fcn.14000cb20
jmp 0x14000ea78
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000eaa3
mov eax, r12d
test r14, r14
je 0x14000ea8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r12d
test eax, eax
je 0x14000eb79
mov qword [rsp + 0x60], r12
lea rax, [rbp - 0x70]
test r15, r15
je 0x14000eae0
mov qword [rsp + 0x48], rax
mov r8, rdi
lea rax, [rsp + 0x60]
mov rdx, rbx
mov qword [rsp + 0x40], rax
mov rcx, r15
mov dword [rsp + 0x30], 0x2001f
mov dword [rsp + 0x28], r12d
call fcn.14000c8ac
xor r15d, r15d
jmp 0x14000eb16
mov qword [rsp + 0x40], rax
xor r15d, r15d
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r15
mov rdx, rdi
mov dword [rsp + 0x28], 0x2001f
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000eb3d
mov eax, r15d
test r14, r14
je 0x14000eb2b
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r15d
test eax, eax
je 0x14000eb7c
mov ecx, eax
call fcn.14000e514
mov ebx, eax
test r14, r14
je 0x14000eb54
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.140052570
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r15d, r15d
mov rdx, rdi
mov rcx, r13
call fcn.14000e524
mov ebx, eax
test eax, eax
js 0x14000eb46
cmp word [rdi], 0x3d
jne 0x14000ebb1
mov r9, rdi
lea rdx, [rsp + 0x78]
xor r8d, r8d
mov rcx, r13
call fcn.14000df80
mov r14, qword [rsp + 0x78]
mov ebx, eax
test eax, eax
js 0x14000eb46
cmp word [rdi], 0x7b
jne 0x14000ef20
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], r15w
jne 0x14000ebbf
cmp rax, 1
jne 0x14000ef20
mov r9d, esi
mov dword [rsp + 0x20], r15d
mov r8, r14
mov rdx, rdi
mov rcx, r13
call fcn.14000e6c0
mov ebx, eax
test eax, eax
js 0x14000eb46
mov rdx, rdi
mov rcx, r13
call fcn.14000e524
jmp 0x14000e96e
mov ebx, dword [rbp + 0x2240]
xor eax, eax
test ebx, ebx
jne 0x14000ec87
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
test r15, r15
je 0x14000ec40
mov rdx, qword [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8, rdi
mov rcx, r15
mov dword [rsp + 0x20], 0x20019
call fcn.14000cb20
jmp 0x14000ec5c
mov rcx, qword [rsp + 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
xor eax, eax
test esi, esi
jne 0x14000ec8c
mov esi, eax
test r14, r14
je 0x14000ec78
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
xor eax, eax
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], eax
jmp 0x14000ec8c
mov esi, 2
test esi, esi
lea rcx, [rbp - 0x50]
mov r15d, 1
mov r8, rdi
cmove r15d, ebx
mov edx, 0x104
or r9, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
test eax, eax
je 0x14000ecd6
cmp eax, 0xc
je 0x14000ef68
cmp eax, 0x16
je 0x14000ef5d
cmp eax, 0x22
je 0x14000ef5d
cmp eax, 0x50
jne 0x14000ef73
mov rdx, rdi
mov rcx, r13
call fcn.14000e524
mov ebx, eax
test eax, eax
js 0x14000eb46
mov rdx, rdi
mov rcx, r13
call fcn.14000e45c
xor ecx, ecx
mov ebx, eax
test eax, eax
js 0x14000eb46
cmp word [rdi], 0x7b
jne 0x14000ed5a
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], cx
jne 0x14000ed0c
cmp rax, 1
jne 0x14000ed5a
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8, r14
mov rdx, rdi
mov rcx, r13
call fcn.14000e6c0
mov ebx, eax
test eax, eax
jns 0x14000ed40
test r15d, r15d
je 0x14000eb46
mov rdx, rdi
mov rcx, r13
call fcn.14000e524
xor r15d, r15d
mov ebx, eax
test eax, eax
js 0x14000eb46
jmp 0x14000ed5d
xor r15d, r15d
cmp esi, 2
je 0x14000ef20
test esi, esi
je 0x14000ed7e
cmp dword [rbp + 0x2240], r15d
jne 0x14000ef20
mov ecx, esi
jmp 0x14000eb3f
cmp dword [rbp + 0x2240], r15d
je 0x14000ee2e
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], r15
xor r9d, r9d
mov qword [rsp + 0x48], r15
xor r8d, r8d
mov qword [rsp + 0x40], r15
xor edx, edx
mov qword [rsp + 0x38], r15
mov rcx, r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000ee2e
cmp dword [rsp + 0x60], r15d
mov eax, r15d
seta al
test eax, eax
je 0x14000ee2e
lea rsi, [0x140071780]
mov rdx, qword [rsi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000ef20
add rsi, 8
lea rax, vtable._.0
cmp rsi, rax
jl 0x14000ede8
test r12d, r12d
je 0x14000ef20
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.14000c710
mov r14, qword [rsp + 0x78]
jmp 0x14000ef20
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], r15
xor r9d, r9d
mov qword [rsp + 0x48], r15
xor r8d, r8d
mov qword [rsp + 0x40], r15
xor edx, edx
mov qword [rsp + 0x38], r15
mov rcx, r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, r15d
test eax, eax
jne 0x14000ee81
cmp dword [rsp + 0x60], r15d
seta sil
mov eax, r15d
test r14, r14
je 0x14000ee9a
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, r15
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r15d
test eax, eax
jne 0x14000eb3d
test r12d, r12d
je 0x14000ef20
test esi, esi
jne 0x14000ef20
cmp byte [0x1400916f8], r15b
jne 0x14000eef3
lea rcx, [0x140070628]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000eee3
lea rdx, [0x140070528]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400916f0], rax
jmp 0x14000eeea
mov rax, qword [0x1400916f0]
mov byte [0x1400916f8], 1
jmp 0x14000eefa
mov rax, qword [0x1400916f0]
mov rcx, qword [rsp + 0x70]
lea rdx, [rbp - 0x50]
test rax, rax
je 0x14000ef12
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x14000ef18
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14000eb3d
cmp word [rdi], 0x7d
je 0x14000eb46
mov r15, qword [rbp - 0x78]
jmp 0x14000e730
mov ecx, eax
call fcn.14000e514
mov ebx, eax
test rsi, rsi
je 0x14000eb46
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000eb46
mov ebx, 0x80020009
jmp 0x14000eb46
mov ecx, 0x80070057
call fcn.140002fa4
int3
mov ecx, 0x8007000e
call fcn.140002fa4
int3
mov ecx, 0x80004005
call fcn.140002fa4
int3