Function at 0x180007ee0
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 - 0x10d8]
mov eax, 0x11d8
call fcn.1800f1810
sub rsp, rax
mov rax, qword [0x18014f0c0]
xor rax, rsp
mov qword [rbp + 0x10c0], rax
mov dword [rsp + 0x60], r9d
mov r14, r8
mov qword [rsp + 0x68], r8
mov rsi, rdx
mov r13, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov r15d, eax
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], eax
mov qword [rbp - 0x78], rax
call fcn.180006cf0
mov ebx, eax
test eax, eax
js 0x180008265
cmp byte [rsi], 0x7d
je 0x180008265
nop word [rax + rax]
mov r12d, 1
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov edi, eax
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x180007f94
test edi, edi
jne 0x180008073
mov rdx, rsi
mov rcx, r13
call fcn.180006cf0
mov ebx, eax
test eax, eax
js 0x180008265
cmp dword [rsp + 0x60], 0
je 0x180008073
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rax
mov rcx, rsi
movzx eax, byte [rsi]
test al, al
je 0x180007fef
nop dword [rax]
cmp al, 0x5c
je 0x180007fe6
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x180007fd0
jmp 0x180007fef
test rcx, rcx
jne 0x180008730
lea rbx, str.AppID
nop word [rax + rax]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x180008039
add rbx, 8
lea rax, str.Advapi32.dll
cmp rbx, rax
jl 0x180008000
mov qword [rbp - 0x70], r14
xor eax, eax
mov dword [rbp - 0x68], eax
mov qword [rbp - 0x60], rax
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.180006140
test edi, edi
jne 0x180008073
mov rdx, rsi
mov rcx, r13
call fcn.180006cf0
mov ebx, eax
test eax, eax
js 0x180008265
mov rdx, rsi
mov rcx, r13
call fcn.1800075d0
mov ebx, eax
test eax, eax
js 0x180008265
mov edi, dword [rsp + 0x60]
xor r12d, r12d
jmp 0x1800083a9
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x18000809f
xor r12d, r12d
mov rdx, rsi
mov rcx, r13
call fcn.180006cf0
mov ebx, eax
test eax, eax
js 0x180008265
lea rdx, [0x18012af94]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1800081a9
lea rdx, [rbp + 0xc0]
mov rcx, r13
call fcn.180006cf0
mov ebx, eax
test eax, eax
js 0x180008265
mov rdx, rsi
mov rcx, r13
call fcn.180006cf0
mov ebx, eax
test eax, eax
js 0x180008265
cmp byte [rsi], 0x3d
jne 0x180008730
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x180008129
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x70], r14
xor r12d, r12d
mov dword [rbp - 0x68], r12d
mov qword [rbp - 0x60], r12
mov r9, rsi
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.180006e90
mov ebx, eax
jmp 0x1800083a1
cmp dword [rbp + 0x1140], 0
jne 0x18000818f
test r12d, r12d
je 0x18000818f
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.180006040
test eax, eax
jne 0x18000870f
lea rdx, [rbp + 0xc0]
mov rdi, qword [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, 0xfffffffd
jne 0x1800086ef
test rdi, rdi
je 0x18000818f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rsi
mov rcx, r13
call fcn.1800075d0
mov ebx, eax
test eax, eax
js 0x180008265
jmp 0x180008524
mov rcx, rsi
movzx eax, byte [rsi]
test al, al
je 0x1800081d2
cmp al, 0x5c
je 0x1800081c9
call qword [sym.imp.USER32.dll_CharNextA]
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x1800081b3
jmp 0x1800081d2
test rcx, rcx
jne 0x180008730
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x18000840d
mov r9d, 0x2001f
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.180006040
test eax, eax
je 0x180008365
mov r9d, 0x20019
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.180006040
test eax, eax
je 0x180008365
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x180008300
cmp qword [rbx], r12
je 0x1800082f3
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180008298
mov eax, 1
mov r15, qword [rsp + 0x78]
test eax, eax
je 0x18000836d
mov ecx, eax
call fcn.180005ec0
mov ebx, eax
test r15, r15
je 0x180008273
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.1800f0be0
add rsp, 0x11d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.RegCreateKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x1800082f9
mov qword [rsp + 0x50], r12
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call r10
jmp 0x180008337
cmp dword [rbx + 8], r12d
jne 0x180008300
mov eax, 1
jmp 0x180008337
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x18000824f
mov eax, r12d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180008352
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [rsp + 0x70]
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r12d
jmp 0x180008254
mov r15, qword [rsp + 0x78]
xor r12d, r12d
mov rdx, rsi
mov rcx, r13
call fcn.180006cf0
mov ebx, eax
test eax, eax
js 0x180008265
cmp byte [rsi], 0x3d
jne 0x1800083a9
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.180006e90
mov ebx, eax
mov r15, qword [rsp + 0x78]
test eax, eax
js 0x180008265
cmp byte [rsi], 0x7b
jne 0x180008524
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x1800083c0
cmp rax, 1
jne 0x180008524
mov dword [rsp + 0x20], r12d
mov r9d, edi
mov r8, r15
mov rdx, rsi
mov rcx, r13
call fcn.180007ee0
mov ebx, eax
test eax, eax
js 0x180008265
mov rdx, rsi
mov rcx, r13
call fcn.180006cf0
mov ebx, eax
test eax, eax
js 0x180008265
jmp 0x180008524
mov ebx, dword [rbp + 0x1140]
test ebx, ebx
jne 0x180008436
mov r9d, 0x20019
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.180006040
mov edi, eax
mov r15, qword [rsp + 0x78]
jmp 0x18000843b
mov edi, 2
mov r14d, 1
test edi, edi
cmove r14d, ebx
mov r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.18010325c
test eax, eax
je 0x180008487
cmp eax, 0xc
je 0x180008741
cmp eax, 0x16
je 0x180008757
cmp eax, 0x22
je 0x180008757
cmp eax, 0x50
jne 0x18000874c
mov rdx, rsi
mov rcx, r13
call fcn.180006cf0
mov ebx, eax
test eax, eax
js 0x180008265
mov rdx, rsi
mov rcx, r13
call fcn.1800075d0
mov ebx, eax
test eax, eax
js 0x180008265
cmp byte [rsi], 0x7b
jne 0x180008509
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x1800084c0
cmp rax, 1
jne 0x180008509
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, r15
mov rdx, rsi
mov rcx, r13
call fcn.180007ee0
mov ebx, eax
test eax, eax
jns 0x1800084f4
test r14d, r14d
je 0x180008265
mov rdx, rsi
mov rcx, r13
call fcn.180006cf0
mov ebx, eax
test eax, eax
js 0x180008265
cmp edi, 2
je 0x18000851f
test edi, edi
je 0x180008532
cmp dword [rbp + 0x1140], 0
je 0x18000873a
mov r14, qword [rsp + 0x68]
cmp byte [rsi], 0x7d
jne 0x180007f60
jmp 0x180008265
xor r14d, r14d
cmp dword [rbp + 0x1140], r14d
je 0x1800085e6
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1800085e6
mov eax, r14d
cmp dword [rsp + 0x70], r14d
seta al
test eax, eax
je 0x1800085e6
lea rdi, str.AppID
nop
mov rdx, qword [rdi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x18000851f
add rdi, 8
lea rax, str.Advapi32.dll
cmp rdi, rax
jl 0x1800085a0
test r12d, r12d
je 0x18000851f
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.180006140
mov r15, qword [rsp + 0x78]
jmp 0x18000851f
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, r14d
test eax, eax
jne 0x180008638
cmp dword [rsp + 0x70], eax
seta dil
mov eax, r14d
test r15, r15
je 0x180008651
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, r14
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r14d
test eax, eax
jne 0x18000825c
test r12d, r12d
je 0x18000851f
test edi, edi
jne 0x18000851f
cmp byte [0x180156720], dil
jne 0x1800086b9
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800086a9
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180156728], rax
mov byte [0x180156720], 1
jmp 0x1800086c0
mov rax, qword [0x180156728]
mov byte [0x180156720], 1
jmp 0x1800086c0
mov rax, qword [0x180156728]
lea rdx, [rbp - 0x50]
mov r14, qword [rsp + 0x68]
mov rcx, r14
test rax, rax
je 0x1800086db
xor r9d, r9d
xor r8d, r8d
call rax
jmp 0x1800086e2
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
nop
test eax, eax
jne 0x18000825c
jmp 0x180008524
mov ecx, eax
call fcn.180005ec0
mov ebx, eax
test rdi, rdi
je 0x180008265
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180008265
mov ecx, eax
call fcn.180005ec0
mov ebx, eax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180008265
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180008265
mov ebx, 0x80020009
jmp 0x180008265
mov ecx, edi
jmp 0x18000825e
mov ecx, 0x8007000e
call fcn.180001ba0
int3
mov ecx, 0x80004005
call fcn.180001ba0
int3
mov ecx, 0x80070057
call fcn.180001ba0
int3