Function at 0x1800068e0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2228]
mov eax, 0x2328
call fcn.1801cd9c0
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x18028e088]
xor rax, rsp
mov qword [rbp + 0x2210], rax
mov dword [rsp + 0x60], r9d
mov rsi, r8
mov qword [rsp + 0x68], r8
mov r15, rdx
mov r14, rcx
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
xor edi, edi
mov r12d, edi
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], edi
mov qword [rbp - 0x78], rdi
call fcn.1800056d0
mov ebx, eax
test eax, eax
js 0x1800070ca
cmp word [r15], 0x7d
je 0x1800070ca
mov ecx, 1
mov r13d, ecx
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
sete dil
lea rdx, str.ForceRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1800069a3
test edi, edi
je 0x180006aa9
mov rdx, r15
mov rcx, r14
call fcn.1800056d0
mov ebx, eax
test eax, eax
js 0x1800070ca
cmp dword [rsp + 0x60], 0
je 0x180006aa9
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
xor edx, edx
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x58], edx
mov qword [rbp - 0x50], rdx
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x180006a12
nop word [rax + rax]
cmp ax, 0x5c
je 0x180006a09
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1800069f0
jmp 0x180006a12
test rcx, rcx
jne 0x1800073c7
lea rbx, str.AppID
nop dword [rax]
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180006a64
add rbx, 8
lea rax, str.HKCR
cmp rbx, rax
jl 0x180006a20
mov qword [rbp - 0x60], rsi
xor ebx, ebx
mov dword [rbp - 0x58], ebx
mov qword [rbp - 0x50], rbx
mov rdx, r15
lea rcx, [rbp - 0x60]
call fcn.180004d30
mov qword [rbp - 0x60], rbx
mov dword [rbp - 0x58], ebx
mov qword [rbp - 0x50], rbx
test edi, edi
je 0x180006aa2
mov rdx, r15
mov rcx, r14
call fcn.1800056d0
mov ebx, eax
test eax, eax
js 0x1800073d8
mov rdx, r15
mov rcx, r14
call fcn.180005f20
mov ebx, eax
test eax, eax
js 0x1800073d8
xor r13d, r13d
mov dword [rbp - 0x58], r13d
mov edi, dword [rsp + 0x60]
jmp 0x18000714f
xor edi, edi
mov dword [rbp - 0x58], edi
jmp 0x180006aab
xor edi, edi
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180006ad7
mov r13d, edi
mov rdx, r15
mov rcx, r14
call fcn.1800056d0
mov ebx, eax
test eax, eax
js 0x1800070ca
lea rdx, [0x180214868]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180006f45
lea rbx, [rbp + 0x210]
nop word [rax + rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x180006b2c
cmp ax, 0xa
jbe 0x180006b1e
cmp ax, 0xd
je 0x180006b1e
cmp ax, 0x20
jne 0x180006b2c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x180006b00
xor edx, edx
cmp dx, ax
je 0x1800073ce
mov ecx, 0x27
cmp cx, ax
jne 0x180006c20
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
movzx eax, word [rax]
xor edi, edi
cmp di, ax
je 0x180006bff
mov ecx, 0x27
cmp cx, ax
jne 0x180006b83
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x180006bff
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x180006b9f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
mov rcx, rax
sub rcx, rdi
sar rcx, 1
lea rax, [rcx + 1]
lea rax, [rbx + rax*2]
lea r8, [rbp + 0x2210]
cmp rax, r8
jae 0x1800073ce
test ecx, ecx
jle 0x180006bf1
sub rdi, rbx
mov ecx, ecx
nop dword [rax + rax]
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x180006be0
movzx eax, word [rdx]
xor edi, edi
cmp di, ax
jne 0x180006b62
mov rcx, qword [r14]
cmp di, word [rcx]
je 0x1800073ce
mov word [rbx], di
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x180006ca2
cmp ax, 0x20
ja 0x180006c39
movzx eax, ax
movabs rcx, 0x100002600
bt rcx, rax
jb 0x180006c9f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [rbp + 0x2210]
cmp rcx, rax
jae 0x1800073ce
test edx, edx
jle 0x180006c91
sub rdi, rbx
mov ecx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x180006c80
movzx eax, word [r8]
mov rdi, r8
xor edx, edx
cmp dx, ax
jne 0x180006c20
mov word [rbx], dx
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x180006cdc
cmp ax, 0xa
jbe 0x180006cce
cmp ax, 0xd
je 0x180006cce
cmp ax, 0x20
jne 0x180006cdc
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x180006cb0
xor edx, edx
cmp dx, ax
je 0x1800073ce
mov ecx, 0x27
cmp cx, ax
jne 0x180006dd0
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
xor edi, edi
cmp di, ax
je 0x180006db3
mov ecx, 0x27
cmp cx, ax
jne 0x180006d33
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x180006db3
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x180006d4f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x1800073ce
test edx, edx
jle 0x180006da4
sub rdi, rbx
mov ecx, edx
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x180006d90
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x180006d12
mov rax, qword [r14]
cmp di, word [rax]
je 0x1800073ce
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x180006e45
cmp ax, 0x20
ja 0x180006de6
movabs rcx, 0x100002600
bt rcx, rax
jb 0x180006e42
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x1800073ce
test edx, edx
jle 0x180006e34
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x180006e20
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor edx, edx
cmp dx, ax
jne 0x180006dd0
mov word [rbx], dx
cmp word [r15], 0x3d
jne 0x1800073ce
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x180006eae
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov dword [rbp - 0x40], r13d
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x48], rsi
mov dword [rbp - 0x40], r13d
mov qword [rbp - 0x38], r13
mov r9, r15
lea r8, [rbp + 0x210]
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.1800058b0
mov ebx, eax
mov qword [rbp - 0x48], r13
mov dword [rbp - 0x40], r13d
mov qword [rbp - 0x38], r13
mov dword [rbp - 0x40], r13d
jmp 0x180007147
cmp dword [rbp + 0x2290], 0
jne 0x180006f2b
test r13d, r13d
je 0x180006f2b
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
xor r13d, r13d
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x28], r13d
mov qword [rbp - 0x20], r13
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.180004c30
test eax, eax
jne 0x180007408
lea rdx, [rbp + 0x210]
mov rdi, qword [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x1800073e4
test rdi, rdi
je 0x180006f27
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x28], r13d
mov rdx, r15
mov rcx, r14
call fcn.180005f20
mov ebx, eax
test eax, eax
js 0x1800070ca
jmp 0x1800072c4
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x180006f73
cmp ax, 0x5c
je 0x180006f6a
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x180006f51
jmp 0x180006f73
test rcx, rcx
jne 0x1800073ce
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x1800071b0
mov r9d, 0x2001f
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.180004c30
test eax, eax
je 0x18000710d
mov r9d, 0x20019
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.180004c30
test eax, eax
je 0x18000710d
xor r13d, r13d
mov qword [rbp - 0x70], r13
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x180007056
cmp qword [rbx], r13
je 0x180007049
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x180006fef
lea eax, [r13 + 1]
jmp 0x18000708c
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x18000704f
mov qword [rsp + 0x50], r13
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call r10
jmp 0x18000708c
cmp dword [rbx + 8], r13d
jne 0x180007056
mov eax, 1
jmp 0x18000708c
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18000742d
mov eax, r13d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1800070ac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], r13d
mov r12, qword [rbp - 0x70]
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], r13d
test eax, eax
je 0x180007115
mov ecx, eax
call fcn.180004a60
mov ebx, eax
test r12, r12
je 0x1800070e1
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], 0
mov dword [rbp - 0x80], 0
mov eax, ebx
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.1801ccd40
add rsp, 0x2328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r12, qword [rsp + 0x78]
xor r13d, r13d
mov rdx, r15
mov rcx, r14
call fcn.1800056d0
mov ebx, eax
test eax, eax
js 0x1800070ca
cmp word [r15], 0x3d
jne 0x18000714f
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.1800058b0
mov ebx, eax
mov r12, qword [rsp + 0x78]
test eax, eax
js 0x1800070ca
cmp word [r15], 0x7b
jne 0x1800072c4
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x180007161
cmp rax, 1
jne 0x1800072c4
mov dword [rsp + 0x20], r13d
mov r9d, edi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.1800068e0
mov ebx, eax
test eax, eax
js 0x1800070ca
mov rdx, r15
mov rcx, r14
call fcn.1800056d0
mov ebx, eax
test eax, eax
js 0x1800070ca
jmp 0x1800072c4
mov ebx, dword [rbp + 0x2290]
test ebx, ebx
jne 0x1800071d9
mov r9d, 0x20019
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.180004c30
mov edi, eax
mov r12, qword [rsp + 0x78]
jmp 0x1800071de
mov edi, 2
mov esi, ebx
test edi, edi
mov eax, 1
cmovne esi, eax
lea r9, [rax - 2]
mov r8, r15
mov edx, 0x104
lea rcx, [rbp]
call fcn.1801d1e20
test eax, eax
je 0x180007227
cmp eax, 0xc
je 0x180007450
cmp eax, 0x16
je 0x180007466
cmp eax, 0x22
je 0x180007466
cmp eax, 0x50
jne 0x18000745b
mov rdx, r15
mov rcx, r14
call fcn.1800056d0
mov ebx, eax
test eax, eax
js 0x1800070ca
mov rdx, r15
mov rcx, r14
call fcn.180005f20
mov ebx, eax
test eax, eax
js 0x1800070ca
cmp word [r15], 0x7b
jne 0x1800072a9
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [r15 + rax*2], 0
jne 0x180007260
cmp rax, 1
jne 0x1800072a9
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.1800068e0
mov ebx, eax
test eax, eax
jns 0x180007294
test esi, esi
je 0x1800070ca
mov rdx, r15
mov rcx, r14
call fcn.1800056d0
mov ebx, eax
test eax, eax
js 0x1800070ca
cmp edi, 2
je 0x1800072bf
test edi, edi
je 0x1800072d6
cmp dword [rbp + 0x2290], 0
je 0x180007437
mov rsi, qword [rsp + 0x68]
cmp word [r15], 0x7d
je 0x1800070ca
xor edi, edi
jmp 0x180006969
cmp dword [rbp + 0x2290], 0
je 0x18000732d
mov rdx, r12
call fcn.180005e90
test eax, eax
je 0x18000732d
lea rdi, str.AppID
mov rdx, qword [rdi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1800072bf
add rdi, 8
lea rax, str.HKCR
cmp rdi, rax
jl 0x1800072f2
test r13d, r13d
je 0x1800072bf
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.180004d30
mov r12, qword [rsp + 0x78]
jmp 0x1800072bf
mov rdx, r12
call fcn.180005e90
mov edi, eax
xor eax, eax
test r12, r12
je 0x18000734f
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r12d, r12d
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], 0
test eax, eax
jne 0x1800070c1
test r13d, r13d
je 0x1800072bf
test edi, edi
jne 0x1800072bf
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
xor r13d, r13d
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x10], r13d
mov qword [rbp - 8], r13
mov rsi, qword [rsp + 0x68]
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], r13d
mov qword [rbp - 8], r13
lea rdx, [rbp]
lea rcx, [rbp - 0x18]
call fcn.180004b00
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x10], r13d
mov qword [rbp - 8], r13
test eax, eax
jne 0x18000743e
mov dword [rbp - 0x10], r13d
jmp 0x1800072c4
mov dword [rbp - 0x58], 0
mov ebx, 0x80020009
jmp 0x1800070ca
mov dword [rbp - 0x58], 0
jmp 0x1800070ca
mov ecx, eax
call fcn.180004a60
mov ebx, eax
test rdi, rdi
je 0x180007424
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x28], r13d
jmp 0x1800070ca
mov ecx, eax
call fcn.180004a60
mov ebx, eax
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x180007424
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x28], r13d
jmp 0x1800070ca
mov r12, qword [rsp + 0x78]
jmp 0x1800070c1
mov ecx, edi
jmp 0x1800070c3
mov ecx, eax
call fcn.180004a60
mov ebx, eax
mov dword [rbp - 0x10], r13d
jmp 0x1800070ca
mov ecx, 0x8007000e
call fcn.1800049b0
int3
mov ecx, 0x80004005
call fcn.1800049b0
int3
mov ecx, 0x80070057
call fcn.1800049b0
int3