Function at 0x18001b0f0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21b8]
mov eax, 0x22b8
call fcn.180050fd0
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x180143158]
xor rax, rsp
mov qword [rbp + 0x21a0], rax
mov dword [rsp + 0x40], r9d
mov qword [rsp + 0x48], r8
mov r15, rdx
mov r14, rcx
xor esi, esi
mov r13d, esi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x78], rsi
call fcn.180019f20
mov ebx, eax
test eax, eax
js 0x18001bd38
cmp word [r15], 0x7d
je 0x18001bd38
mov ecx, 1
mov r12d, ecx
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
sete sil
lea rdx, [0x1800f2e10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18001b1a2
test esi, esi
je 0x18001b425
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18001b1dc
cmp ax, 0xa
jbe 0x18001b1ce
cmp ax, 0xd
je 0x18001b1ce
cmp ax, 0x20
jne 0x18001b1dc
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18001b1b0
xor ecx, ecx
cmp cx, ax
je 0x18001bd33
mov edx, 0x27
cmp dx, ax
jne 0x18001b2d5
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 0x18001b2b3
mov ecx, 0x27
cmp cx, ax
jne 0x18001b233
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x18001b2b3
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x18001b24f
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 0x18001bd33
test edx, edx
jle 0x18001b2a4
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 0x18001b290
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x18001b212
mov rax, qword [r14]
cmp di, word [rax]
je 0x18001bd33
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor ecx, ecx
jmp 0x18001b355
cmp ax, 0x20
ja 0x18001b2ee
movzx eax, ax
movabs rdx, 0x100002600
bt rdx, rax
jb 0x18001b352
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 0x18001bd33
test edx, edx
jle 0x18001b344
sub rdi, rbx
mov ecx, edx
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x18001b330
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor ecx, ecx
cmp cx, ax
jne 0x18001b2d5
mov word [rbx], cx
mov edi, dword [rsp + 0x40]
test edi, edi
je 0x18001b425
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x60], rcx
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x18001b3a2
nop dword [rax + rax]
cmp ax, 0x5c
je 0x18001b399
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18001b380
jmp 0x18001b3a2
test rcx, rcx
jne 0x18001bd33
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 0x18001b3f2
add rbx, 8
lea rax, [0x1800f5650]
cmp rbx, rax
jl 0x18001b3b0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor eax, eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], rax
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.18001a660
test esi, esi
je 0x18001b425
mov rdx, r15
mov rcx, r14
call fcn.180019f20
mov ebx, eax
test eax, eax
js 0x18001bd38
mov rdx, r15
mov rcx, r14
call fcn.18001bd90
mov ebx, eax
test eax, eax
js 0x18001bd38
jmp 0x18001ba9b
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x18001b5d3
mov r12d, esi
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18001b47c
cmp ax, 0xa
jbe 0x18001b46e
cmp ax, 0xd
je 0x18001b46e
cmp ax, 0x20
jne 0x18001b47c
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18001b450
cmp si, ax
je 0x18001bd33
mov ecx, 0x27
cmp cx, ax
jne 0x18001b560
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x18001b541
nop
mov edi, 0x27
cmp di, ax
jne 0x18001b4c8
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x18001b541
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x18001b4e4
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 0x18001bd33
test edx, edx
jle 0x18001b534
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x18001b520
mov r8, qword [r14]
movzx eax, word [r8]
cmp si, ax
jne 0x18001b4b0
mov rax, qword [r14]
cmp si, word [rax]
je 0x18001bd33
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18001b5d3
cmp ax, 0x20
ja 0x18001b576
movabs rcx, 0x100002600
bt rcx, rax
jb 0x18001b5d0
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 0x18001bd33
test edx, edx
jle 0x18001b5c4
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x18001b5b0
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
jne 0x18001b560
mov word [rbx], si
lea rdx, [0x1800f2e08]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18001b9b9
lea rbx, [rbp + 0x1a0]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18001b61e
cmp ax, 0xa
jbe 0x18001b610
cmp ax, 0xd
je 0x18001b610
cmp ax, 0x20
jne 0x18001b61e
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18001b5f2
cmp si, ax
je 0x18001bd33
mov ecx, 0x27
cmp cx, ax
jne 0x18001b6f7
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x18001b6dd
mov edi, 0x27
cmp di, ax
jne 0x18001b668
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x18001b6dd
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x18001b684
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 + 0x21a0]
cmp rax, r8
jae 0x18001bd33
test ecx, ecx
jle 0x18001b6d1
sub rdi, rbx
mov ecx, ecx
nop dword [rax]
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x18001b6c0
movzx eax, word [rdx]
cmp si, ax
jne 0x18001b650
mov rcx, qword [r14]
cmp si, word [rcx]
je 0x18001bd33
mov word [rbx], si
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18001b770
cmp ax, 0x20
ja 0x18001b710
movzx eax, ax
movabs rcx, 0x100002600
bt rcx, rax
jb 0x18001b76d
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 + 0x21a0]
cmp rcx, rax
jae 0x18001bd33
test edx, edx
jle 0x18001b761
sub rdi, rbx
mov ecx, edx
nop dword [rax]
movzx eax, word [rbx + rdi]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x18001b750
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
jne 0x18001b6f7
mov word [rbx], si
mov rbx, r15
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x18001b79f
cmp ax, 0xa
jbe 0x18001b791
cmp ax, 0xd
je 0x18001b791
cmp ax, 0x20
jne 0x18001b79f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18001b773
cmp si, ax
je 0x18001bd33
mov ecx, 0x27
cmp cx, ax
jne 0x18001b880
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
cmp si, ax
je 0x18001b861
mov edi, 0x27
cmp di, ax
jne 0x18001b7e9
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
cmp di, word [rax]
jne 0x18001b861
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x18001b805
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 0x18001bd33
test edx, edx
jle 0x18001b854
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x18001b840
mov r8, qword [r14]
movzx eax, word [r8]
cmp si, ax
jne 0x18001b7d1
mov rax, qword [r14]
cmp si, word [rax]
je 0x18001bd33
mov word [rbx], si
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x18001b8f3
cmp ax, 0x20
ja 0x18001b896
movabs rcx, 0x100002600
bt rcx, rax
jb 0x18001b8f0
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 0x18001bd33
test edx, edx
jle 0x18001b8e4
sub rdi, rbx
mov ecx, edx
nop
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x18001b8d0
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
cmp si, ax
jne 0x18001b880
mov word [rbx], si
cmp word [r15], 0x3d
jne 0x18001bd33
mov edi, dword [rsp + 0x40]
test edi, edi
je 0x18001b93f
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rsi
mov r9, r15
lea r8, [rbp + 0x1a0]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.180018580
mov ebx, eax
test eax, eax
js 0x18001bd38
jmp 0x18001ba9b
cmp dword [rbp + 0x2220], 0
jne 0x18001b9a9
test r12d, r12d
je 0x18001b9a9
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rsi
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.18001a100
test eax, eax
jne 0x18001bcfd
lea rdx, [rbp + 0x1a0]
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x18001bce4
test rdi, rdi
je 0x18001b9a9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.18001bd90
jmp 0x18001b153
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x18001b9e7
cmp ax, 0x5c
je 0x18001b9de
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18001b9c5
jmp 0x18001b9e7
test rcx, rcx
jne 0x18001bd33
mov edi, dword [rsp + 0x40]
test edi, edi
je 0x18001baf1
mov r9d, 0x2001f
mov r8, r15
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18001a100
test eax, eax
je 0x18001ba5d
mov r9d, 0x20019
mov r8, r15
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18001a100
test eax, eax
je 0x18001ba5d
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r15
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180018d70
test eax, eax
jne 0x18001bd18
mov rdx, r15
mov rcx, r14
call fcn.180019f20
mov ebx, eax
test eax, eax
js 0x18001bd21
cmp word [r15], 0x3d
jne 0x18001ba96
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.180018580
mov ebx, eax
test eax, eax
js 0x18001bd21
mov r13, qword [rsp + 0x68]
cmp word [r15], 0x7b
jne 0x18001bc01
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r15 + rax*2], 0
jne 0x18001bab0
xor esi, esi
cmp rax, 1
jne 0x18001b15d
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.18001b0f0
mov ebx, eax
test eax, eax
js 0x18001bd38
mov rdx, r15
mov rcx, r14
jmp 0x18001b14e
mov ebx, dword [rbp + 0x2220]
test ebx, ebx
jne 0x18001bb1c
mov r9d, 0x20019
mov r8, r15
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.18001a100
mov edi, eax
mov r13, qword [rsp + 0x68]
jmp 0x18001bb21
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 - 0x70]
call fcn.1800a3294
test eax, eax
je 0x18001bb6a
cmp eax, 0xc
je 0x18001bd6b
cmp eax, 0x16
je 0x18001bd81
cmp eax, 0x22
je 0x18001bd81
cmp eax, 0x50
jne 0x18001bd76
mov rdx, r15
mov rcx, r14
call fcn.180019f20
mov ebx, eax
test eax, eax
js 0x18001bd38
mov rdx, r15
mov rcx, r14
call fcn.18001bd90
mov ebx, eax
test eax, eax
js 0x18001bd38
cmp word [r15], 0x7b
jne 0x18001bbeb
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x18001bba2
cmp rax, 1
jne 0x18001bbeb
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.18001b0f0
mov ebx, eax
test eax, eax
jns 0x18001bbd6
test esi, esi
je 0x18001bd38
mov rdx, r15
mov rcx, r14
call fcn.180019f20
mov ebx, eax
test eax, eax
js 0x18001bd38
cmp edi, 2
je 0x18001bc01
test edi, edi
je 0x18001bc08
cmp dword [rbp + 0x2220], 0
je 0x18001bd28
xor esi, esi
jmp 0x18001b15d
cmp dword [rbp + 0x2220], 0
je 0x18001bc70
mov rdx, r13
mov rcx, r14
call fcn.180019d90
test eax, eax
je 0x18001bc70
lea rdi, str.AppID
nop word [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18001bc01
add rdi, 8
lea rax, [0x1800f5650]
cmp rdi, rax
jl 0x18001bc30
test r12d, r12d
je 0x18001bc01
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.18001a660
mov r13, qword [rsp + 0x68]
xor esi, esi
jmp 0x18001b15d
mov rdx, r13
mov rcx, r14
call fcn.180019d90
mov edi, eax
xor esi, esi
mov eax, esi
test r13, r13
je 0x18001bc97
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13d, esi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], esi
test eax, eax
jne 0x18001bcd9
test r12d, r12d
je 0x18001b15d
test edi, edi
jne 0x18001b15d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x60], rsi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.180018ee0
test eax, eax
je 0x18001b15d
mov ecx, eax
call fcn.180018cb0
mov ebx, eax
jmp 0x18001bd38
mov ecx, eax
call fcn.180018cb0
mov ebx, eax
test rdi, rdi
je 0x18001bd38
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18001bd38
mov ecx, eax
call fcn.180018cb0
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18001bd38
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18001bd38
mov ecx, eax
call fcn.180018cb0
mov ebx, eax
mov r13, qword [rsp + 0x68]
jmp 0x18001bd38
mov ecx, edi
call fcn.180018cb0
mov ebx, eax
jmp 0x18001bd38
mov ebx, 0x80020009
test r13, r13
je 0x18001bd46
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21a0]
xor rcx, rsp
call fcn.180050f90
add rsp, 0x22b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.180010a30
int3
mov ecx, 0x80004005
call fcn.180010a30
int3
mov ecx, 0x80070057
call fcn.180010a30
int3