Function at 0x18000fa78
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x21e8]
mov eax, 0x22e8
call fcn.1800a7270
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0x21d0], rax
mov dword [rbp - 0x78], r9d
mov qword [rbp - 0x70], r8
mov rdi, rdx
mov rax, rcx
mov qword [rbp - 0x80], rcx
xor ecx, ecx
mov esi, ecx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x78], rcx
mov rcx, rax
call fcn.18000ec4c
mov ebx, eax
test eax, eax
js 0x180010269
cmp word [rdi], 0x7d
je 0x180010269
mov eax, 1
mov dword [rbp - 0x74], 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 [rsp + 0x60], ebx
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x18000fb2c
test ebx, ebx
je 0x18000fbff
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000ec4c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180010269
cmp dword [rbp - 0x78], edx
je 0x18000fbff
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x18000fb72
cmp ax, 0x5c
je 0x18000fb79
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x18000fb60
jmp 0x18000fb82
test rcx, rcx
jne 0x18001022b
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 0x18000fbc8
add rbx, 8
lea rax, [0x18015b510]
cmp rbx, rax
jl 0x18000fb89
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], ecx
mov qword [rbp - 0x58], rcx
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.18000e4b0
xor ecx, ecx
cmp dword [rsp + 0x60], ecx
je 0x18000fbff
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000ec4c
mov ebx, eax
test eax, eax
js 0x180010269
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000f3cc
mov ebx, eax
test eax, eax
js 0x180010269
jmp 0x18000ff09
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
jne 0x18000fc2e
mov dword [rbp - 0x74], ecx
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000ec4c
mov ebx, eax
test eax, eax
js 0x180010269
lea rdx, [0x180159ac8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x18000fd39
lea rdx, [rbp + 0x1d0]
mov rcx, qword [rbp - 0x80]
call fcn.18000ec4c
mov ebx, eax
test eax, eax
js 0x180010269
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000ec4c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180010269
cmp word [rdi], 0x3d
jne 0x18001022b
cmp dword [rbp - 0x78], edx
je 0x18000fcb6
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov r9, rdi
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x68]
mov rcx, qword [rbp - 0x80]
call fcn.18000ede0
mov ebx, eax
jmp 0x18000fbf2
cmp dword [rbp + 0x2230], edx
jne 0x18000fd19
cmp dword [rbp - 0x74], edx
je 0x18000fd19
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x68]
call fcn.18000e3b4
test eax, eax
jne 0x180010217
lea rdx, [rbp + 0x1d0]
mov rsi, qword [rbp - 0x68]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x1800101fe
test rsi, rsi
je 0x18000fd19
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000f3cc
mov ebx, eax
mov rsi, qword [rsp + 0x68]
test eax, eax
js 0x18001026e
jmp 0x1800101ee
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x18000fd55
cmp ax, 0x5c
je 0x18000fd5c
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x18000fd41
jmp 0x18000fd65
test rcx, rcx
jne 0x18001022b
cmp dword [rbp - 0x78], edx
je 0x18000ff5f
mov r9d, 0x2001f
mov r8, rdi
mov rsi, qword [rbp - 0x70]
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.18000e3b4
test eax, eax
je 0x18000fec5
mov r9d, 0x20019
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.18000e3b4
xor ecx, ecx
test eax, eax
je 0x18000fec5
mov qword [rsp + 0x60], rcx
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x18000fe59
cmp qword [rbx], rcx
je 0x18000fe4d
lea rcx, [0x180158b10]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edx, edx
test rax, rax
jne 0x18000fde8
lea eax, [rdx + 1]
jmp 0x18000fe91
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x18000fe52
mov rcx, rax
call qword [fcn.18000e000]
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x70]
call rsi
jmp 0x18000fe8f
cmp dword [rbx + 8], ecx
jne 0x18000fe59
mov eax, 1
jmp 0x18000fe8f
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor edx, edx
test eax, eax
jne 0x180010232
mov eax, edx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18000fead
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], edx
test eax, eax
jne 0x180010232
jmp 0x18000feca
mov rsi, qword [rsp + 0x68]
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000ec4c
mov ebx, eax
test eax, eax
js 0x180010269
cmp word [rdi], 0x3d
jne 0x18000ff09
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rbp - 0x80]
call fcn.18000ede0
mov ebx, eax
mov rsi, qword [rsp + 0x68]
test eax, eax
js 0x18001026e
cmp word [rdi], 0x7b
jne 0x1800101e9
mov rcx, rdi
call fcn.1800d9868
mov ecx, 1
cmp rax, rcx
jne 0x1800101e9
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbp - 0x78]
mov r8, rsi
mov rdx, rdi
mov rsi, qword [rbp - 0x80]
mov rcx, rsi
call fcn.18000fa78
mov ebx, eax
test eax, eax
js 0x180010269
mov rdx, rdi
mov rcx, rsi
call fcn.18000ec4c
jmp 0x18000fd25
mov ebx, dword [rbp + 0x2230]
test ebx, ebx
jne 0x18000ff87
mov r9d, 0x20019
mov r8, rdi
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.18000e3b4
mov rsi, qword [rsp + 0x68]
jmp 0x18000ff8c
mov eax, 2
mov dword [rsp + 0x60], eax
mov ecx, ebx
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [rbp - 0x4c], ecx
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.1800dd388
test eax, eax
je 0x18000ffdc
cmp eax, 0xc
je 0x180010253
cmp eax, 0x16
je 0x180010248
cmp eax, 0x22
je 0x180010248
cmp eax, 0x50
jne 0x18001023d
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000ec4c
mov ebx, eax
test eax, eax
js 0x180010269
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000f3cc
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180010269
cmp word [rdi], 0x7b
jne 0x180010068
mov rcx, rdi
call fcn.1800d9868
mov ecx, 1
cmp rax, rcx
jne 0x180010066
mov eax, dword [rbp - 0x4c]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rsi
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000fa78
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x18001004c
cmp dword [rbp - 0x4c], edx
je 0x180010269
mov rdx, rdi
mov rcx, qword [rbp - 0x80]
call fcn.18000ec4c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x180010269
jmp 0x180010068
xor edx, edx
mov eax, dword [rsp + 0x60]
cmp eax, 2
je 0x1800101e9
test eax, eax
je 0x18001008a
cmp dword [rbp + 0x2230], edx
je 0x180010232
jmp 0x1800101e9
cmp dword [rbp + 0x2230], edx
je 0x180010135
mov dword [rsp + 0x60], 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, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x180010135
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
test eax, eax
je 0x180010135
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
je 0x1800101e9
add rsi, 8
lea rax, [0x18015b510]
cmp rsi, rax
jl 0x1800100f2
cmp dword [rbp - 0x74], edx
je 0x1800101e9
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.18000e4b0
jmp 0x1800101e9
mov dword [rsp + 0x60], 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, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
je 0x180010183
mov dword [rsp + 0x60], edx
jmp 0x180010190
mov ecx, edx
cmp dword [rsp + 0x60], edx
seta cl
mov dword [rsp + 0x60], ecx
mov eax, edx
test rsi, rsi
je 0x1800101ab
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov esi, edx
mov qword [rsp + 0x68], rdx
jmp 0x1800101b0
mov rsi, qword [rsp + 0x68]
mov dword [rsp + 0x70], edx
test eax, eax
jne 0x18001025e
cmp dword [rbp - 0x74], edx
je 0x1800101ee
cmp dword [rsp + 0x60], edx
jne 0x1800101ee
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.18000e290
test eax, eax
jne 0x18001025e
jmp 0x1800101ee
mov rsi, qword [rsp + 0x68]
cmp word [rdi], 0x7d
je 0x18001026e
mov rsi, qword [rsp + 0x68]
jmp 0x18000faeb
mov ecx, eax
call fcn.18000e178
mov ebx, eax
test rsi, rsi
je 0x180010269
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180010269
mov ecx, eax
call fcn.18000e178
mov ebx, eax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180010269
jmp 0x18001020f
mov ebx, 0x80020009
jmp 0x180010269
mov ecx, eax
call fcn.18000e178
mov ebx, eax
jmp 0x180010269
mov ecx, 0x80004005
call fcn.18000e0a4
int3
mov ecx, 0x80070057
call fcn.18000e0a4
int3
mov ecx, 0x8007000e
call fcn.18000e0a4
int3
mov ecx, eax
call fcn.18000e178
mov ebx, eax
jmp 0x18001026e
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x18001027c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21d0]
xor rcx, rsp
call fcn.1800a6240
add rsp, 0x22e8
pop rdi
pop rsi
pop rbx
pop rbp
ret