Function at 0x180007de8
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x21d8]
mov eax, 0x22c0
call fcn.180022680
sub rsp, rax
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x22e8], rbx
mov rdi, rdx
mov rax, rcx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov dword [rbp - 0x70], ecx
mov qword [rbp - 0x68], rcx
mov rcx, rax
call fcn.180007178
test eax, eax
mov ebx, eax
js 0x18000854a
cmp word [rdi], 0x7d
je 0x18000854a
mov eax, 1
mov dword [rsp + 0x68], eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov esi, ebx
test eax, eax
sete sil
lea rdx, [0x180033230]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180007e8c
test esi, esi
je 0x180007f7b
mov rdx, rdi
mov rcx, qword [rbp + 0x21e0]
call fcn.180007178
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000854a
cmp dword [rbp + 0x21f8], edx
je 0x180007f79
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], edx
mov qword [rbp - 0x80], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180007eda
cmp ax, 0x5c
je 0x180007ee1
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x180007ec8
jmp 0x180007eea
test rcx, rcx
jne 0x1800084e3
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180007f43
add rbx, 8
lea rax, [0x180033460]
cmp rbx, rax
jl 0x180007ef1
mov rax, qword [rbp + 0x21f0]
mov qword [rsp + 0x70], rax
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rbp - 0x80], rbx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1800068c4
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], ebx
mov qword [rbp - 0x80], rbx
jmp 0x180007f45
xor ebx, ebx
test esi, esi
je 0x180007f77
mov rdx, rdi
mov rsi, qword [rbp + 0x21e0]
mov rcx, rsi
call fcn.180007178
mov ebx, eax
test eax, eax
js 0x1800084e5
mov rdx, rdi
mov rcx, rsi
call fcn.1800077a0
mov ebx, eax
jmp 0x1800081fa
jmp 0x180007f7b
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rsi, qword [rbp + 0x21e0]
test eax, eax
jne 0x180007faf
mov dword [rsp + 0x68], ebx
mov rdx, rdi
mov rcx, rsi
call fcn.180007178
mov ebx, eax
test eax, eax
js 0x18000854a
lea rdx, [0x180033228]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x1800080bf
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call fcn.180007178
mov ebx, eax
test eax, eax
js 0x18000854a
mov rdx, rdi
mov rcx, rsi
call fcn.180007178
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000854a
cmp word [rdi], 0x3d
jne 0x180008515
cmp dword [rbp + 0x21f8], edx
je 0x18000803d
mov rax, qword [rbp + 0x21f0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], edx
mov qword [rbp - 0x80], rdx
mov r9, rdi
lea r8, [rbp + 0x1c0]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.18000730c
mov ebx, eax
jmp 0x1800081fa
cmp dword [rbp + 0x2200], edx
jne 0x1800080af
cmp dword [rsp + 0x68], edx
je 0x1800080af
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], edx
mov qword [rbp - 0x80], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rbp + 0x21f0]
lea rcx, [rsp + 0x70]
call fcn.1800067e0
test eax, eax
jne 0x1800084fa
lea rdx, [rbp + 0x1c0]
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x1800084e7
test rsi, rsi
je 0x1800080a8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rbp + 0x21e0]
mov rdx, rdi
mov rcx, rsi
call fcn.1800077a0
jmp 0x180007e39
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1800080db
cmp ax, 0x5c
je 0x1800080e2
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x1800080c7
jmp 0x1800080eb
test rcx, rcx
jne 0x180008515
cmp dword [rbp + 0x21f8], edx
je 0x180008253
mov r9d, 0x2001f
mov r8, rdi
mov rbx, qword [rbp + 0x21f0]
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.1800067e0
test eax, eax
je 0x1800081cb
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.1800067e0
xor edx, edx
test eax, eax
je 0x1800081cb
mov qword [rsp + 0x60], rdx
mov rcx, qword [rbp - 0x68]
lea rax, [rbp - 0x60]
test rcx, rcx
je 0x180008168
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov r8, rdi
mov rdx, rbx
call fcn.180006438
jmp 0x18000819a
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor edx, edx
test eax, eax
jne 0x180008541
mov eax, edx
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1800081b7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rcx, qword [rsp + 0x60]
mov qword [rbp - 0x78], rcx
mov dword [rbp - 0x70], edx
test eax, eax
jne 0x180008541
mov rdx, rdi
mov rcx, rsi
call fcn.180007178
mov ebx, eax
test eax, eax
js 0x18000854a
cmp word [rdi], 0x3d
jne 0x180008202
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.18000730c
mov ebx, eax
test eax, eax
js 0x18000854a
cmp word [rdi], 0x7b
jne 0x180007e43
mov rcx, rdi
call fcn.18000ffd0
mov ecx, 1
cmp rax, rcx
jne 0x180007e43
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x21f8]
mov r8, qword [rbp - 0x78]
mov rdx, rdi
mov rcx, rsi
call fcn.180007de8
mov ebx, eax
test eax, eax
js 0x18000854a
mov rdx, rdi
mov rcx, rsi
jmp 0x180007e34
mov ebx, dword [rbp + 0x2200]
test ebx, ebx
jne 0x18000827a
mov r9d, 0x20019
mov r8, rdi
mov rdx, qword [rbp + 0x21f0]
lea rcx, [rbp - 0x78]
call fcn.1800067e0
mov esi, eax
jmp 0x18000827f
mov esi, 2
mov eax, ebx
test esi, esi
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x60], eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.18000fee4
test eax, eax
je 0x1800082cc
cmp eax, 0xc
je 0x180008532
cmp eax, 0x16
je 0x180008527
cmp eax, 0x22
je 0x180008527
cmp eax, 0x50
jne 0x18000851c
mov rdx, rdi
mov rcx, qword [rbp + 0x21e0]
call fcn.180007178
mov ebx, eax
test eax, eax
js 0x18000854a
mov rdx, rdi
mov rcx, qword [rbp + 0x21e0]
call fcn.1800077a0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000854a
cmp word [rdi], 0x7b
jne 0x180008367
mov rcx, rdi
call fcn.18000ffd0
mov ecx, 1
cmp rax, rcx
jne 0x180008365
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rbp - 0x78]
mov rdx, rdi
mov rcx, qword [rbp + 0x21e0]
call fcn.180007de8
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x180008348
cmp dword [rsp + 0x60], edx
je 0x18000854a
mov rdx, rdi
mov rcx, qword [rbp + 0x21e0]
call fcn.180007178
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000854a
jmp 0x180008367
xor edx, edx
cmp esi, 2
je 0x180007e43
test esi, esi
je 0x180008385
cmp dword [rbp + 0x2200], edx
je 0x18000853d
jmp 0x180007e43
cmp dword [rbp + 0x2200], edx
je 0x180008431
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, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x180008431
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
test eax, eax
je 0x180008431
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
je 0x180007e43
add rsi, 8
lea rax, [0x180033460]
cmp rsi, rax
jl 0x1800083ee
cmp dword [rsp + 0x68], edx
je 0x180007e43
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.1800068c4
jmp 0x180007e43
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, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov esi, edx
test eax, eax
jne 0x180008484
cmp dword [rsp + 0x60], edx
seta sil
mov eax, edx
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x18000849b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rbp - 0x78], rdx
mov dword [rbp - 0x70], edx
test eax, eax
jne 0x180008541
cmp dword [rsp + 0x68], edx
je 0x180007e43
test esi, esi
jne 0x180007e43
mov rax, qword [rbp + 0x21f0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], edx
mov qword [rbp - 0x80], rdx
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.1800066e4
test eax, eax
jne 0x180008541
jmp 0x180007e43
jmp 0x180008515
jmp 0x18000854a
mov ecx, eax
call fcn.180006428
mov ebx, eax
test rsi, rsi
je 0x18000854a
mov rcx, rsi
jmp 0x18000850d
mov ecx, eax
call fcn.180006428
mov ebx, eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18000854a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18000854a
mov ebx, 0x80020009
jmp 0x18000854a
mov ecx, 0x80004005
call fcn.1800063ec
int3
mov ecx, 0x80070057
call fcn.1800063ec
int3
mov ecx, 0x8007000e
call fcn.1800063ec
int3
mov ecx, esi
jmp 0x180008543
mov ecx, eax
call fcn.180006428
mov ebx, eax
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x18000855c
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x22e8]
add rsp, 0x22c0
pop rdi
pop rsi
pop rbp
ret