Function at 0x14008c3a0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2238]
mov eax, 0x2338
call fcn.1400b9f10
sub rsp, rax
mov qword [rbp], 0xfffffffffffffffe
mov rax, qword [0x14017a140]
xor rax, rsp
mov qword [rbp + 0x2220], rax
mov dword [rsp + 0x68], r9d
mov qword [rbp - 0x70], r8
mov rsi, rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x78], 0
mov dword [rbp - 0x80], 0
mov qword [rbp - 0x78], 0
call fcn.14008b730
mov ebx, eax
test eax, eax
js 0x14008cbbf
cmp word [rsi], 0x7d
je 0x14008cbbf
mov ecx, 1
mov dword [rsp + 0x6c], ecx
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edi, edi
test eax, eax
sete dil
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14008c452
test edi, edi
je 0x14008c55e
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.14008b730
mov ebx, eax
test eax, eax
js 0x14008cbbf
cmp dword [rsp + 0x68], 0
je 0x14008c55e
xor edx, edx
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x58], edx
mov qword [rbp - 0x50], rdx
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x14008c4b2
nop dword [rax]
cmp ax, 0x5c
je 0x14008c4a9
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14008c490
jmp 0x14008c4b2
test rcx, rcx
jne 0x14008cb27
lea rbx, str.AppID
nop dword [rax]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14008c51a
add rbx, 8
lea rax, str.Module
cmp rbx, rax
jl 0x14008c4c0
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x50], 0
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14008bda0
mov qword [rbp - 0x60], 0
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x50], 0
test edi, edi
je 0x14008c557
mov rdx, rsi
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.14008b730
mov ebx, eax
test eax, eax
js 0x14008cb30
mov rdx, rsi
mov rcx, rdi
call fcn.14008cca0
mov ebx, eax
test eax, eax
js 0x14008cb30
xor ecx, ecx
mov dword [rbp - 0x58], ecx
jmp 0x14008c8a5
mov dword [rbp - 0x58], 0
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14008c591
xor edi, edi
mov dword [rsp + 0x6c], edi
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.14008b730
mov ebx, eax
test eax, eax
js 0x14008cbbf
jmp 0x14008c595
mov edi, dword [rsp + 0x6c]
lea rdx, [0x14011aa40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14008c6d6
lea rdx, [rbp + 0x220]
mov rcx, qword [rsp + 0x60]
call fcn.14008b730
mov ebx, eax
test eax, eax
js 0x14008cbbf
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.14008b730
mov ebx, eax
test eax, eax
js 0x14008cbbf
cmp word [rsi], 0x3d
jne 0x14008cb78
cmp dword [rsp + 0x68], 0
je 0x14008c646
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x40], ecx
mov qword [rbp - 0x38], rcx
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], ecx
mov qword [rbp - 0x38], rcx
mov r9, rsi
lea r8, [rbp + 0x220]
lea rdx, [rbp - 0x48]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.14008a3c0
mov ebx, eax
xor ecx, ecx
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x40], ecx
mov qword [rbp - 0x38], rcx
mov dword [rbp - 0x40], ecx
test eax, eax
js 0x14008cbbf
jmp 0x14008c8a5
cmp dword [rbp + 0x2280], 0
jne 0x14008c6c4
test edi, edi
je 0x14008c6c4
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.14008b900
test eax, eax
jne 0x14008cb4f
lea rdx, [rbp + 0x220]
mov rdi, qword [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14008cb3c
test rdi, rdi
je 0x14008c6bd
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.14008cca0
jmp 0x14008c401
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x14008c703
cmp ax, 0x5c
je 0x14008c6fa
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14008c6e1
jmp 0x14008c703
test rcx, rcx
jne 0x14008cb78
cmp dword [rsp + 0x68], 0
je 0x14008c8f5
mov r9d, 0x2001f
mov r8, rsi
mov rdi, qword [rbp - 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.14008b900
test eax, eax
je 0x14008c866
mov r9d, 0x20019
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.14008b900
test eax, eax
je 0x14008c866
mov qword [rsp + 0x70], 0
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x14008c7f7
cmp qword [rbx], 0
je 0x14008c7e8
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14008c788
mov eax, 1
xor ebx, ebx
jmp 0x14008c82f
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14008c7ee
mov qword [rsp + 0x50], 0
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call r10
jmp 0x14008c82f
cmp dword [rbx + 8], 0
jne 0x14008c7f7
mov eax, 1
xor ebx, ebx
jmp 0x14008c82f
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14008cbb6
mov eax, ebx
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14008c84e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], ebx
test eax, eax
jne 0x14008cbb6
mov rdx, rsi
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.14008b730
mov ebx, eax
test eax, eax
js 0x14008cbbf
cmp word [rsi], 0x3d
jne 0x14008c8a3
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.14008a3c0
mov ebx, eax
test eax, eax
js 0x14008cbbf
xor ecx, ecx
cmp word [rsi], 0x7b
jne 0x14008c40b
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], 0
jne 0x14008c8b3
cmp rax, 1
jne 0x14008c40b
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rdx, rsi
mov rcx, rdi
call fcn.14008c3a0
mov ebx, eax
test eax, eax
js 0x14008cbbf
mov rdx, rsi
mov rcx, rdi
jmp 0x14008c3fc
mov ebx, dword [rbp + 0x2280]
test ebx, ebx
jne 0x14008c91a
mov r9d, 0x20019
mov r8, rsi
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.14008b900
mov edi, eax
jmp 0x14008c91f
mov edi, 2
mov eax, ebx
test edi, edi
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x70], eax
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.1400bee60
test eax, eax
je 0x14008c96c
cmp eax, 0xc
je 0x14008cb95
cmp eax, 0x16
je 0x14008cb8a
cmp eax, 0x22
je 0x14008cb8a
cmp eax, 0x50
jne 0x14008cb7f
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.14008b730
mov ebx, eax
test eax, eax
js 0x14008cbbf
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.14008cca0
mov ebx, eax
test eax, eax
js 0x14008cbbf
cmp word [rsi], 0x7b
jne 0x14008c9f9
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], 0
jne 0x14008c9a4
cmp rax, 1
jne 0x14008c9f9
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x78]
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.14008c3a0
mov ebx, eax
test eax, eax
jns 0x14008c9e2
cmp dword [rsp + 0x70], 0
je 0x14008cbbf
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call fcn.14008b730
mov ebx, eax
test eax, eax
js 0x14008cbbf
cmp edi, 2
je 0x14008c40b
test edi, edi
je 0x14008ca18
cmp dword [rbp + 0x2280], 0
je 0x14008cba0
jmp 0x14008c40b
cmp dword [rbp + 0x2280], 0
je 0x14008ca84
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.14008b4d0
test eax, eax
je 0x14008ca84
lea rdi, str.AppID
nop dword [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14008c40b
add rdi, 8
lea rax, str.Module
cmp rdi, rax
jl 0x14008ca40
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x14008c40b
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x78]
call fcn.14008bda0
jmp 0x14008c40b
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.14008b4d0
mov edi, eax
xor eax, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14008caae
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov dword [rbp - 0x80], 0
test eax, eax
jne 0x14008cbb6
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x14008c40b
test edi, edi
jne 0x14008c40b
mov qword [rbp - 0x18], 0
mov dword [rbp - 0x10], edi
mov qword [rbp - 8], 0
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], edi
mov qword [rbp - 8], 0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x18]
call fcn.14008af90
mov qword [rbp - 0x18], 0
mov dword [rbp - 0x10], edi
mov qword [rbp - 8], 0
test eax, eax
jne 0x14008cba4
mov dword [rbp - 0x10], eax
jmp 0x14008c40b
mov dword [rbp - 0x58], 0
jmp 0x14008cb78
mov dword [rbp - 0x58], 0
jmp 0x14008cbbf
mov ecx, eax
call fcn.14008a970
mov ebx, eax
test rdi, rdi
je 0x14008cb6f
mov rcx, rdi
jmp 0x14008cb61
mov ecx, eax
call fcn.14008a970
mov ebx, eax
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14008cb6f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
jmp 0x14008cbbf
mov ebx, 0x80020009
jmp 0x14008cbbf
mov ecx, 0x80004005
call fcn.14005d864
int3
mov ecx, 0x80070057
call fcn.14005d864
int3
mov ecx, 0x8007000e
call fcn.14005d864
int3
mov ecx, edi
jmp 0x14008cbb8
mov ecx, eax
call fcn.14008a970
mov ebx, eax
mov dword [rbp - 0x10], 0
jmp 0x14008cbbf
mov ecx, eax
call fcn.14008a970
mov ebx, eax
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14008cbdb
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x78], 0
mov dword [rbp - 0x80], 0
mov eax, ebx
mov rcx, qword [rbp + 0x2220]
xor rcx, rsp
call fcn.1400b9f80
add rsp, 0x2338
pop rdi
pop rsi
pop rbx
pop rbp
ret