Function at 0x14000d248
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21d8]
mov eax, 0x22d8
call fcn.14003d440
sub rsp, rax
mov rax, qword [0x140051058]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov dword [rsp + 0x68], r9d
mov r15, r8
mov qword [rsp + 0x70], r8
mov rsi, rdx
mov r12, rcx
xor eax, eax
mov edi, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
call fcn.14000bcc0
mov ebx, eax
test eax, eax
jns 0x14000d2af
jmp 0x14000d9be
cmp word [rsi], 0x7d
je 0x14000d9a8
mov r13d, 1
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
xor ebx, ebx
mov r14d, ebx
test eax, eax
sete r14b
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
je 0x14000d303
test r14d, r14d
je 0x14000d3da
mov rdx, rsi
mov rcx, r12
call fcn.14000bcc0
mov ebx, eax
test eax, eax
js 0x14000d9a8
xor ebx, ebx
cmp dword [rsp + 0x68], ebx
je 0x14000d3da
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov rcx, rsi
movzx eax, word [rsi]
jmp 0x14000d350
cmp ax, 0x5c
je 0x14000d357
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000d338
jmp 0x14000d360
test rcx, rcx
jne 0x14000da01
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
je 0x14000d39d
add rbx, 8
lea rax, [0x140040830]
cmp rbx, rax
jl 0x14000d367
mov qword [rbp - 0x70], r15
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.14000cd34
xor ebx, ebx
test r14d, r14d
je 0x14000d3da
mov rdx, rsi
mov rcx, r12
call fcn.14000bcc0
mov ebx, eax
test eax, eax
js 0x14000d9a8
mov rdx, rsi
mov rcx, r12
call fcn.14000f4e4
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14000d9a8
mov r14d, dword [rsp + 0x68]
jmp 0x14000d682
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d40e
mov r13d, ebx
mov rdx, rsi
mov rcx, r12
call fcn.14000bcc0
mov ebx, eax
test eax, eax
js 0x14000d9a8
xor ebx, ebx
lea rdx, [0x140042e28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d535
lea rdx, [rbp + 0x1c0]
mov rcx, r12
call fcn.14000bcc0
mov ebx, eax
test eax, eax
js 0x14000d9a8
mov rdx, rsi
mov rcx, r12
call fcn.14000bcc0
mov ebx, eax
test eax, eax
js 0x14000d9a8
cmp word [rsi], 0x3d
jne 0x14000da01
mov r14d, dword [rsp + 0x68]
xor ebx, ebx
test r14d, r14d
je 0x14000d4a3
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x70], r15
mov r9, rsi
lea r8, [rbp + 0x1c0]
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.1400067dc
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14000d9a8
jmp 0x14000d682
cmp dword [rbp + 0x2240], ebx
jne 0x14000d51b
test r13d, r13d
je 0x14000d51b
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d99f
mov r14, qword [rsp + 0x60]
lea rdx, [rbp + 0x1c0]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x14000d9e2
test r14, r14
je 0x14000d51b
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdx, rsi
mov rcx, r12
call fcn.14000f4e4
mov ebx, eax
test eax, eax
js 0x14000d9a8
jmp 0x14000d2af
mov rcx, rsi
movzx eax, word [rsi]
jmp 0x14000d555
cmp ax, 0x5c
je 0x14000d55c
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000d53d
jmp 0x14000d565
test rcx, rcx
jne 0x14000da01
mov r14d, dword [rsp + 0x68]
test r14d, r14d
je 0x14000d6d4
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r13d, 0x2001f
mov r9d, r13d
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d5c8
mov eax, ebx
test rdi, rdi
je 0x14000d5ba
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
test eax, eax
je 0x14000d641
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d61a
mov eax, ebx
test rdi, rdi
je 0x14000d60c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
test eax, eax
je 0x14000d641
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r13d
mov r8, rsi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140008174
test eax, eax
jne 0x14000da1c
mov rdi, qword [rsp + 0x78]
mov rdx, rsi
mov rcx, r12
call fcn.14000bcc0
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14000d9a8
cmp word [rsi], 0x3d
jne 0x14000d682
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.1400067dc
mov ebx, eax
mov rdi, qword [rsp + 0x78]
test eax, eax
js 0x14000d9a8
xor ecx, ecx
cmp word [rsi], 0x7b
jne 0x14000d2af
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], cx
jne 0x14000d690
cmp rax, 1
jne 0x14000d2af
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8, rdi
mov rdx, rsi
mov rcx, r12
call fcn.14000d248
mov ebx, eax
test eax, eax
js 0x14000d9a8
mov rdx, rsi
mov rcx, r12
call fcn.14000bcc0
jmp 0x14000d526
mov ebx, dword [rbp + 0x2240]
xor eax, eax
test ebx, ebx
jne 0x14000d73a
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov r14d, eax
xor eax, eax
test r14d, r14d
jne 0x14000d740
mov r14d, eax
test rdi, rdi
je 0x14000d72e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov r14d, eax
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x78], rdi
jmp 0x14000d740
mov r14d, 2
mov r15d, 1
test r14d, r14d
cmove r15d, ebx
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
test eax, eax
je 0x14000d791
cmp eax, 0xc
je 0x14000da48
cmp eax, 0x16
je 0x14000da5e
cmp eax, 0x22
je 0x14000da5e
cmp eax, 0x50
jne 0x14000da53
mov rdx, rsi
mov rcx, r12
call fcn.14000bcc0
mov ebx, eax
test eax, eax
js 0x14000d9a8
mov rdx, rsi
mov rcx, r12
call fcn.14000f4e4
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14000d9a8
cmp word [rsi], 0x7b
jne 0x14000d812
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], cx
jne 0x14000d7c7
cmp rax, 1
jne 0x14000d812
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov rcx, r12
call fcn.14000d248
mov ebx, eax
test eax, eax
jns 0x14000d7fb
test r15d, r15d
je 0x14000d9a8
mov rdx, rsi
mov rcx, r12
call fcn.14000bcc0
mov ebx, eax
xor ecx, ecx
test eax, eax
js 0x14000d9a8
cmp r14d, 2
je 0x14000d829
test r14d, r14d
je 0x14000d833
cmp dword [rbp + 0x2240], ecx
je 0x14000da34
mov r15, qword [rsp + 0x70]
jmp 0x14000d2af
xor r14d, r14d
cmp dword [rbp + 0x2240], r14d
je 0x14000d8ea
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x14000d8ea
cmp dword [rsp + 0x60], r14d
jbe 0x14000d8ea
lea r14, str.AppID
mov rdx, qword [r14]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
je 0x14000d829
add r14, 8
lea rax, [0x140040830]
cmp r14, rax
jl 0x14000d89e
test r13d, r13d
je 0x14000d829
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.14000cd34
mov rdi, qword [rsp + 0x78]
jmp 0x14000d829
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
xor r15d, r15d
test eax, eax
jne 0x14000d943
cmp dword [rsp + 0x60], r15d
seta r14b
test rdi, rdi
je 0x14000d967
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdi, r15
mov qword [rsp + 0x78], r15
test eax, eax
jne 0x14000da3c
test r13d, r13d
je 0x14000d829
test r14d, r14d
jne 0x14000d829
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
mov r15, qword [rsp + 0x70]
mov qword [rbp - 0x70], r15
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140008cc4
test eax, eax
je 0x14000d2af
mov ecx, eax
call fcn.140007058
mov ebx, eax
test rdi, rdi
je 0x14000d9bc
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.1400027f0
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.140007058
mov ebx, eax
test r14, r14
je 0x14000d9a8
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14000d9a8
test rdi, rdi
je 0x14000da15
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, 0x80020009
jmp 0x14000d9be
mov ecx, eax
call fcn.140007058
mov ebx, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000d9bc
jmp 0x14000d9b0
mov ecx, r14d
jmp 0x14000d9a1
mov ecx, eax
call fcn.140007058
jmp 0x14000d2aa
mov ecx, 0x8007000e
call fcn.140007a38
int3
mov ecx, 0x80004005
call fcn.140007a38
int3
mov ecx, 0x80070057
call fcn.140007a38
int3