Function at 0x180008770
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2238]
mov eax, 0x2338
call fcn.1800251d0
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x18003f008]
xor rax, rsp
mov qword [rbp + 0x2220], rax
mov dword [rsp + 0x68], r9d
mov qword [rsp + 0x70], r8
mov rdi, rdx
mov rax, rcx
mov qword [rsp + 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x70], rcx
mov esi, ecx
mov qword [rbp - 0x78], rcx
mov dword [rbp - 0x70], ecx
mov qword [rbp - 0x68], rcx
mov rcx, rax
call fcn.180007a7c
mov ebx, eax
test eax, eax
js 0x180008efa
cmp word [rdi], 0x7d
je 0x180008ef6
mov eax, 1
mov dword [rsp + 0x6c], eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
mov ebx, ecx
test eax, eax
sete bl
mov dword [rbp - 0x80], ebx
lea rdx, [0x180037b40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180008829
test ebx, ebx
je 0x180008911
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.180007a7c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180008ef6
cmp dword [rsp + 0x68], edx
je 0x180008911
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x58], edx
mov qword [rbp - 0x50], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180008877
cmp ax, 0x5c
je 0x18000887e
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x180008865
jmp 0x180008887
test rcx, rcx
jne 0x180008e89
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
je 0x1800088d9
add rbx, 8
lea rax, [0x180038060]
cmp rbx, rax
jl 0x18000888e
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], ecx
mov qword [rbp - 0x50], rcx
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.180007154
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x58], ecx
mov qword [rbp - 0x50], rcx
cmp dword [rbp - 0x80], ecx
je 0x180008911
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.180007a7c
mov ebx, eax
test eax, eax
js 0x180008e8b
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1800080d8
mov ebx, eax
test eax, eax
js 0x180008ef6
jmp 0x180008bab
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
jne 0x180008942
mov dword [rsp + 0x6c], ecx
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.180007a7c
mov ebx, eax
test eax, eax
js 0x180008ef6
lea rdx, [0x180037b38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x180008a62
lea rdx, [rbp + 0x220]
mov rcx, qword [rsp + 0x60]
call fcn.180007a7c
mov ebx, eax
test eax, eax
js 0x180008ef6
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.180007a7c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180008ef6
cmp word [rdi], 0x3d
jne 0x180008eba
cmp dword [rsp + 0x68], edx
je 0x1800089db
xor eax, eax
mov qword [rbp - 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], edx
mov qword [rbp - 0x18], rdx
mov r9, rdi
lea r8, [rbp + 0x220]
lea rdx, [rbp - 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.180007c10
mov ebx, eax
xor edx, edx
mov qword [rbp - 0x28], rdx
jmp 0x180008904
cmp dword [rbp + 0x2280], edx
jne 0x180008a46
cmp dword [rsp + 0x6c], edx
je 0x180008a46
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], rdx
mov dword [rbp - 0x38], edx
mov qword [rbp - 0x30], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.180007064
test eax, eax
jne 0x180008ea0
lea rdx, [rbp + 0x220]
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x180008e8d
test rsi, rsi
je 0x180008a46
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1800080d8
mov ebx, eax
test eax, eax
js 0x180008ef6
jmp 0x180008e7a
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180008a7e
cmp ax, 0x5c
je 0x180008a85
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x180008a6a
jmp 0x180008a8e
test rcx, rcx
jne 0x180008ec1
cmp dword [rsp + 0x68], edx
je 0x180008c03
mov r9d, 0x2001f
mov r8, rdi
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.180007064
xor esi, esi
test eax, eax
je 0x180008b68
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.180007064
test eax, eax
je 0x180008b68
mov qword [rbp - 0x80], rsi
mov rcx, qword [rbp - 0x68]
lea rax, [rbp - 0x48]
test rcx, rcx
je 0x180008b05
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov r8, rdi
mov rdx, rbx
call fcn.180006cbc
jmp 0x180008b36
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
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 0x180008eed
mov eax, edx
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180008b53
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rsi, qword [rbp - 0x80]
mov qword [rbp - 0x78], rsi
mov dword [rbp - 0x70], edx
test eax, eax
jne 0x180008eed
jmp 0x180008b6c
mov rsi, qword [rbp - 0x78]
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.180007a7c
mov ebx, eax
test eax, eax
js 0x180008ef6
cmp word [rdi], 0x3d
jne 0x180008bab
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.180007c10
mov ebx, eax
test eax, eax
js 0x180008ef6
mov rsi, qword [rbp - 0x78]
cmp word [rdi], 0x7b
jne 0x180008e7a
mov rcx, rdi
call fcn.1800110a0
mov ecx, 1
cmp rax, rcx
jne 0x180008e7a
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x68]
mov r8, rsi
mov rdx, rdi
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call fcn.180008770
mov ebx, eax
test eax, eax
js 0x180008ef6
mov rdx, rdi
mov rcx, rsi
call fcn.180007a7c
jmp 0x180008a53
mov ebx, dword [rbp + 0x2280]
test ebx, ebx
jne 0x180008c28
mov r9d, 0x20019
mov r8, rdi
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x78]
call fcn.180007064
mov esi, eax
jmp 0x180008c2d
mov esi, 2
mov eax, ebx
test esi, esi
mov ecx, 1
cmovne eax, ecx
mov dword [rbp - 0x80], eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.180010fb4
test eax, eax
je 0x180008c79
cmp eax, 0xc
je 0x180008ede
cmp eax, 0x16
je 0x180008ed3
cmp eax, 0x22
je 0x180008ed3
cmp eax, 0x50
jne 0x180008ec8
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.180007a7c
mov ebx, eax
test eax, eax
js 0x180008ef6
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1800080d8
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180008ef6
cmp word [rdi], 0x7b
jne 0x180008d0a
mov rcx, rdi
call fcn.1800110a0
mov ecx, 1
cmp rax, rcx
jne 0x180008d08
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rbp - 0x78]
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.180008770
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x180008ced
cmp dword [rbp - 0x80], edx
je 0x180008ef6
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.180007a7c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180008ef6
jmp 0x180008d0a
xor edx, edx
cmp esi, 2
je 0x180008e7a
test esi, esi
je 0x180008d28
cmp dword [rbp + 0x2280], edx
je 0x180008ee9
jmp 0x180008e7a
cmp dword [rbp + 0x2280], edx
je 0x180008dd1
mov dword [rbp - 0x80], 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, [rbp - 0x80]
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 0x180008dd1
mov eax, edx
cmp dword [rbp - 0x80], edx
seta al
test eax, eax
je 0x180008dd1
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
je 0x180008e7a
add rsi, 8
lea rax, [0x180038060]
cmp rsi, rax
jl 0x180008d8e
cmp dword [rsp + 0x6c], edx
je 0x180008e7a
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x78]
call fcn.180007154
jmp 0x180008e7a
mov dword [rbp - 0x80], 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, [rbp - 0x80]
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 0x180008e21
cmp dword [rbp - 0x80], edx
seta sil
mov eax, edx
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180008e38
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rbp - 0x78], rdx
mov dword [rbp - 0x70], edx
test eax, eax
jne 0x180008eed
cmp dword [rsp + 0x6c], edx
je 0x180008e7a
test esi, esi
jne 0x180008e7a
xor eax, eax
mov qword [rbp - 8], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], edx
mov qword [rbp], rdx
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.180006f68
xor edx, edx
mov qword [rbp - 0x10], rdx
test eax, eax
jne 0x180008eed
cmp word [rdi], 0x7d
je 0x180008ef6
mov rsi, qword [rbp - 0x78]
jmp 0x1800087e8
jmp 0x180008eba
jmp 0x180008ef6
mov ecx, eax
call fcn.180006cac
mov ebx, eax
test rsi, rsi
je 0x180008ef6
mov rcx, rsi
jmp 0x180008eb2
mov ecx, eax
call fcn.180006cac
mov ebx, eax
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x180008ef6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180008ef6
mov ebx, 0x80020009
jmp 0x180008efa
mov ebx, 0x80020009
jmp 0x180008ef6
mov ecx, 0x80004005
call fcn.180006c70
int3
mov ecx, 0x80070057
call fcn.180006c70
int3
mov ecx, 0x8007000e
call fcn.180006c70
int3
mov ecx, esi
jmp 0x180008eef
mov ecx, eax
call fcn.180006cac
mov ebx, eax
mov rsi, qword [rbp - 0x78]
test rsi, rsi
je 0x180008f08
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x2220]
xor rcx, rsp
call fcn.18000aef0
add rsp, 0x2338
pop rdi
pop rsi
pop rbx
pop rbp
ret