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

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x22e8
call fcn.140232c50
sub rsp, rax
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x1402e0068]
xor rax, rsp
mov qword [rsp + 0x22d0], rax
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x78], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x58], rcx
xor ebp, ebp
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x70], ebp
mov ecx, dword [rsp + 0x2330]
mov dword [rsp + 0x90], ecx
mov rcx, rax
call fcn.1400e5360
mov ebx, eax
test eax, eax
jns 0x1400e6bd1
jmp 0x1400e745e
cmp word [rsi], 0x7d
je 0x1400e744e
nop dword [rax + rax]
mov dword [rsp + 0x50], 1
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edi, edi
test eax, eax
sete dil
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400e6c1c
test edi, edi
je 0x1400e6d3d
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.1400e5360
mov ebx, eax
test eax, eax
js 0x1400e744e
cmp dword [rsp + 0x60], 0
je 0x1400e6d3d
xor eax, eax
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], eax
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x1400e6c82
nop word [rax + rax]
cmp ax, 0x5c
je 0x1400e6c79
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
test ax, ax
jne 0x1400e6c60
jmp 0x1400e6c82
test rcx, rcx
jne 0x1400e734f
lea rbx, str.AppID
nop dword [rax]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400e6cef
add rbx, 8
lea rax, str.TIME_u_size_d_n
cmp rbx, rax
jl 0x1400e6c90
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], 0
mov rdx, rsi
lea rcx, [rsp + 0x80]
call fcn.1400e56f0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
test edi, edi
je 0x1400e6d32
mov rdx, rsi
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1400e5360
mov ebx, eax
test eax, eax
js 0x1400e744e
mov rdx, rsi
mov rcx, rdi
call fcn.1400e5590
mov ebx, eax
test eax, eax
js 0x1400e744e
mov dword [rsp + 0x88], 0
jmp 0x1400e7041
mov dword [rsp + 0x88], 0
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400e6d70
xor edi, edi
mov dword [rsp + 0x50], edi
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.1400e5360
mov ebx, eax
test eax, eax
js 0x1400e744e
jmp 0x1400e6d74
mov edi, dword [rsp + 0x50]
lea rdx, [0x1402a16e0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400e6ebb
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x58]
call fcn.1400e5360
mov ebx, eax
test eax, eax
js 0x1400e744e
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.1400e5360
mov ebx, eax
test eax, eax
js 0x1400e744e
cmp word [rsi], 0x3d
jne 0x1400e73aa
cmp dword [rsp + 0x60], 0
je 0x1400e6e2f
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0xa8], 0
mov r9, rsi
lea r8, [rsp + 0x2d0]
lea rdx, [rsp + 0xa0]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1400e66d0
mov ebx, eax
xor eax, eax
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0xa8], eax
test ebx, ebx
js 0x1400e7367
mov dword [rsp + 0xa8], eax
jmp 0x1400e7041
cmp dword [rsp + 0x2330], 0
jne 0x1400e6e9f
test edi, edi
je 0x1400e6e9f
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e739c
mov rdi, qword [rsp + 0x50]
lea rdx, [rsp + 0x2d0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400e6e91
cmp eax, 2
jne 0x1400e737c
test rdi, rdi
je 0x1400e6e9f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.1400e5590
mov ebx, eax
test eax, eax
js 0x1400e744e
jmp 0x1400e7340
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x1400e6ee8
cmp ax, 0x5c
je 0x1400e6edf
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
mov ax, word [rax]
test ax, ax
jne 0x1400e6ec6
jmp 0x1400e6ee8
test rcx, rcx
jne 0x1400e73c2
cmp dword [rsp + 0x60], 0
je 0x1400e709c
xor edi, edi
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rsi
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e6f48
mov eax, edi
test rbp, rbp
je 0x1400e6f32
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x50]
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x70], edi
test eax, eax
je 0x1400e6fff
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e6f92
mov eax, edi
test rbp, rbp
je 0x1400e6f80
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x50]
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x70], edi
test eax, eax
je 0x1400e6fff
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400e73e1
mov eax, edi
test rbp, rbp
je 0x1400e6fe9
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x50]
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x70], edi
test eax, eax
jne 0x1400e73e1
mov rdx, rsi
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1400e5360
mov ebx, eax
test eax, eax
js 0x1400e744e
cmp word [rsi], 0x3d
jne 0x1400e7041
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1400e66d0
mov ebx, eax
test eax, eax
js 0x1400e73da
mov rbp, qword [rsp + 0x68]
cmp word [rsi], 0x7b
jne 0x1400e7340
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1400e7340
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x60]
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.1400e6b60
mov ebx, eax
test eax, eax
js 0x1400e744e
mov rdx, rsi
mov rcx, rdi
call fcn.1400e5360
mov ebx, eax
test eax, eax
js 0x1400e744e
jmp 0x1400e7340
cmp dword [rsp + 0x2330], 0
jne 0x1400e7103
xor ebx, ebx
mov qword [rsp + 0x98], rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x1400e70fd
mov edi, ebx
test rbp, rbp
je 0x1400e70ec
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov rbp, qword [rsp + 0x98]
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x70], ebx
test edi, edi
je 0x1400e7113
jmp 0x1400e7108
mov edi, 2
mov dword [rsp + 0x2330], 1
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rsp + 0xc0]
call fcn.1401e7f2c
test eax, eax
je 0x1400e7154
cmp eax, 0xc
je 0x1400e7412
cmp eax, 0x16
je 0x1400e7407
cmp eax, 0x22
je 0x1400e7407
cmp eax, 0x50
jne 0x1400e73fc
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.1400e5360
mov ebx, eax
test eax, eax
js 0x1400e744e
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.1400e5590
mov ebx, eax
test eax, eax
js 0x1400e744e
cmp word [rsi], 0x7b
jne 0x1400e71df
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1400e71df
mov eax, dword [rsp + 0x2330]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rbp
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.1400e6b60
mov ebx, eax
test eax, eax
jns 0x1400e71c8
cmp dword [rsp + 0x2330], 0
je 0x1400e744e
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.1400e5360
mov ebx, eax
test eax, eax
js 0x1400e744e
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x2330], eax
cmp edi, 2
je 0x1400e7340
test edi, edi
je 0x1400e7207
test eax, eax
je 0x1400e741d
jmp 0x1400e7340
test eax, eax
je 0x1400e7274
mov rdx, rbp
mov rcx, qword [rsp + 0x58]
call fcn.1400e5520
test eax, eax
je 0x1400e7274
lea rdi, str.AppID
mov rdx, qword [rdi]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400e7340
add rdi, 8
lea rax, str.TIME_u_size_d_n
cmp rdi, rax
jl 0x1400e7223
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400e7340
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x68]
call fcn.1400e56f0
mov rbp, qword [rsp + 0x68]
jmp 0x1400e7340
mov rdx, rbp
mov rcx, qword [rsp + 0x58]
call fcn.1400e5520
mov edi, eax
xor eax, eax
test rbp, rbp
je 0x1400e729a
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x70], 0
test eax, eax
jne 0x1400e7433
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400e7340
test edi, edi
jne 0x1400e7340
cmp byte [0x1402e4780], dil
jne 0x1400e7302
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e72f2
lea rdx, [0x14023d088]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402e4778], rax
jmp 0x1400e72f9
mov rax, qword [0x1402e4778]
mov byte [0x1402e4780], 1
jmp 0x1400e7309
mov rax, qword [0x1402e4778]
test rax, rax
je 0x1400e7325
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
call rax
jmp 0x1400e7338
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1400e7428
cmp word [rsi], 0x7d
je 0x1400e744e
jmp 0x1400e6be0
test rbp, rbp
je 0x1400e735d
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x1400e745e
test rbp, rbp
je 0x1400e7375
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400e745e
mov ecx, eax
call fcn.1400e4db0
mov ebx, eax
test rdi, rdi
je 0x1400e744e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400e744e
mov ecx, eax
call fcn.1400e4db0
mov ebx, eax
jmp 0x1400e744e
test rbp, rbp
je 0x1400e73b8
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x1400e745e
test rbp, rbp
je 0x1400e73d0
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x1400e745e
mov rbp, qword [rsp + 0x68]
jmp 0x1400e744e
mov ecx, eax
call fcn.1400e4db0
mov ebx, eax
test rbp, rbp
je 0x1400e73f8
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400e745e
mov ecx, 0x80004005
call fcn.1400e2fd0
int3
mov ecx, 0x80070057
call fcn.1400e2fd0
int3
mov ecx, 0x8007000e
call fcn.1400e2fd0
int3
mov ecx, edi
call fcn.1400e4db0
mov ebx, eax
jmp 0x1400e744e
mov ecx, eax
call fcn.1400e4db0
mov ebx, eax
jmp 0x1400e744e
mov ecx, eax
call fcn.1400e4db0
mov ebx, eax
test rbp, rbp
je 0x1400e744a
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400e745e
test rbp, rbp
je 0x1400e745c
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x22d0]
xor rcx, rsp
call fcn.1401e6720
add rsp, 0x22e8
pop rdi
pop rsi
pop rbp
pop rbx
ret