Function at 0x180003c8c
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.180028110
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180042010]
xor rax, rsp
mov qword [rbp + 0x2210], rax
mov dword [rsp + 0x60], r9d
mov r15, r8
mov qword [rsp + 0x68], r8
mov rdi, rdx
mov r12, rcx
xor eax, eax
mov qword [rbp - 0x80], rax
mov r14d, eax
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], eax
mov qword [rbp - 0x78], rax
call fcn.180002f0c
test eax, eax
mov ebx, eax
js 0x1800042d0
cmp word [rdi], 0x7d
je 0x1800042d0
mov eax, 1
mov r13d, 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, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180003d47
test esi, esi
je 0x180003e1f
mov rdx, rdi
mov rcx, r12
call fcn.180002f0c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800042d0
cmp dword [rsp + 0x60], edx
je 0x180003e1d
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x58], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180003d8e
cmp ax, 0x5c
je 0x180003d95
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x180003d7c
jmp 0x180003d9e
test rcx, rcx
jne 0x180004330
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180003de4
add rbx, 8
lea rax, [0x180036f50]
cmp rbx, rax
jl 0x180003da5
mov qword [rbp - 0x68], r15
xor ebx, ebx
mov dword [rbp - 0x60], ebx
mov qword [rbp - 0x58], rbx
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.180002708
mov qword [rbp - 0x68], rbx
jmp 0x180003de6
xor ebx, ebx
test esi, esi
je 0x180003e1f
mov rdx, rdi
mov rcx, r12
call fcn.180002f0c
mov ebx, eax
test eax, eax
js 0x1800042d0
mov rdx, rdi
mov rcx, r12
call fcn.180003614
mov ebx, eax
test eax, eax
js 0x1800042d0
mov esi, dword [rsp + 0x60]
jmp 0x180004013
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180003e4b
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.180002f0c
mov ebx, eax
test eax, eax
js 0x1800042d0
lea rdx, [0x180036750]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180003f54
lea rdx, [rbp + 0x210]
mov rcx, r12
call fcn.180002f0c
mov ebx, eax
test eax, eax
js 0x1800042d0
mov rdx, rdi
mov rcx, r12
call fcn.180002f0c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800042d0
cmp word [rdi], 0x3d
jne 0x180004330
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x180003ee1
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], edx
mov qword [rbp - 0x40], rdx
mov r9, rdi
lea r8, [rbp + 0x210]
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.1800030c4
mov ebx, eax
xor edx, edx
mov qword [rbp - 0x50], rdx
test eax, eax
js 0x1800042d0
jmp 0x180004013
cmp dword [rbp + 0x2290], edx
jne 0x180003f44
test r13d, r13d
je 0x180003f44
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x28], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x38]
call fcn.180002620
test eax, eax
jne 0x180004316
lea rdx, [rbp + 0x210]
mov rsi, qword [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x180004303
test rsi, rsi
je 0x180003f44
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.180003614
jmp 0x180003cf5
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180003f6e
cmp ax, 0x5c
je 0x180003f75
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x180003f5c
jmp 0x180003f7e
test rcx, rcx
jne 0x180004330
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x18000405f
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002620
test eax, eax
je 0x180003fd6
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002620
test eax, eax
je 0x180003fd6
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002568
test eax, eax
jne 0x180004337
mov rdx, rdi
mov rcx, r12
call fcn.180002f0c
mov ebx, eax
test eax, eax
js 0x180004340
cmp word [rdi], 0x3d
jne 0x18000400e
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.1800030c4
mov ebx, eax
test eax, eax
js 0x180004340
mov r14, qword [rsp + 0x78]
cmp word [rdi], 0x7b
jne 0x180003cff
mov rcx, rdi
call fcn.18001b8f4
mov ecx, 1
cmp rax, rcx
jne 0x180003cff
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, esi
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180003c8c
mov ebx, eax
test eax, eax
js 0x1800042d0
mov rdx, rdi
mov rcx, r12
jmp 0x180003cf0
mov ebx, dword [rbp + 0x2290]
test ebx, ebx
jne 0x180004088
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.180002620
mov esi, eax
mov r14, qword [rsp + 0x78]
jmp 0x18000408d
mov esi, 2
mov r15d, ebx
test esi, esi
mov eax, 1
cmovne r15d, eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp]
call fcn.18001b918
test eax, eax
je 0x1800040d8
cmp eax, 0xc
je 0x180004352
cmp eax, 0x16
je 0x180004347
cmp eax, 0x22
je 0x180004347
cmp eax, 0x50
jne 0x18000435d
mov rdx, rdi
mov rcx, r12
call fcn.180002f0c
mov ebx, eax
test eax, eax
js 0x1800042d0
mov rdx, rdi
mov rcx, r12
call fcn.180003614
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800042d0
cmp word [rdi], 0x7b
jne 0x18000415c
mov rcx, rdi
call fcn.18001b8f4
mov ecx, 1
cmp rax, rcx
jne 0x18000415a
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180003c8c
mov ebx, eax
test eax, eax
jns 0x180004141
test r15d, r15d
je 0x1800042d0
mov rdx, rdi
mov rcx, r12
call fcn.180002f0c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800042d0
jmp 0x18000415c
xor edx, edx
cmp esi, 2
je 0x180004213
test esi, esi
je 0x18000417c
cmp dword [rbp + 0x2290], edx
jne 0x180004213
mov ecx, esi
jmp 0x1800042c9
cmp dword [rbp + 0x2290], edx
je 0x18000421d
mov dword [rbp - 0x70], 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 - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x18000421d
cmp dword [rbp - 0x70], edx
jbe 0x18000421d
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180004213
add rsi, 8
lea rax, [0x180036f50]
cmp rsi, rax
jl 0x1800041da
test r13d, r13d
je 0x180004213
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.180002708
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x68]
jmp 0x180003cff
mov dword [rbp - 0x70], 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 - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov esi, edx
test eax, eax
jne 0x18000426c
cmp dword [rbp - 0x70], edx
seta sil
mov eax, edx
test r14, r14
je 0x180004286
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r14d, edx
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x80], edx
test eax, eax
jne 0x1800042c7
test r13d, r13d
je 0x180004213
mov r15, qword [rsp + 0x68]
test esi, esi
jne 0x180003cff
and qword [rbp - 0x18], 0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], rdx
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.1800024d8
xor edx, edx
mov qword [rbp - 0x20], rdx
test eax, eax
je 0x180003cff
mov ecx, eax
call fcn.180002224
mov ebx, eax
test r14, r14
je 0x1800042de
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.180016920
add rsp, 0x2328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.180002224
mov ebx, eax
test rsi, rsi
je 0x1800042d0
mov rcx, rsi
jmp 0x180004328
mov ecx, eax
call fcn.180002224
mov ebx, eax
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1800042d0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1800042d0
mov ebx, 0x80020009
jmp 0x1800042d0
mov ecx, eax
call fcn.180002224
mov ebx, eax
mov r14, qword [rsp + 0x78]
jmp 0x1800042d0
mov ecx, 0x80070057
call fcn.1800021d8
int3
mov ecx, 0x8007000e
call fcn.1800021d8
int3
mov ecx, 0x80004005
call fcn.1800021d8
int3