Function at 0x14000364c
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.14014c780
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov dword [rsp + 0x64], r9d
mov r14, r8
mov qword [rsp + 0x68], r8
mov rdi, rdx
mov r12, rcx
xor eax, eax
mov r15d, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
call fcn.140002928
test eax, eax
mov ebx, eax
js 0x140003d33
cmp word [rdi], 0x7d
je 0x140003d33
mov eax, 1
mov r13d, eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
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]
nop dword [rax + rax]
test eax, eax
je 0x14000370e
test esi, esi
je 0x1400037e9
mov rdx, rdi
mov rcx, r12
call fcn.140002928
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003d33
cmp dword [rsp + 0x64], edx
je 0x1400037e7
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x14000375d
cmp ax, 0x5c
je 0x140003764
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140003745
jmp 0x14000376d
test rcx, rcx
jne 0x140003da1
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
je 0x1400037ac
add rbx, 8
lea rax, [0x140151940]
cmp rbx, rax
jl 0x140003774
mov qword [rsp + 0x70], r14
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140001d88
xor ebx, ebx
test esi, esi
je 0x1400037e9
mov rdx, rdi
mov rcx, r12
call fcn.140002928
mov ebx, eax
test eax, eax
js 0x140003d33
mov rdx, rdi
mov rcx, r12
call fcn.140003134
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003d33
mov esi, dword [rsp + 0x64]
jmp 0x140003a1d
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
jne 0x14000381b
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.140002928
mov ebx, eax
test eax, eax
js 0x140003d33
lea rdx, [0x140153c78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
jne 0x140003959
lea rdx, [rbp + 0x1c0]
mov rcx, r12
call fcn.140002928
mov ebx, eax
test eax, eax
js 0x140003d33
mov rdx, rdi
mov rcx, r12
call fcn.140002928
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003d33
cmp word [rdi], 0x3d
jne 0x140003da1
mov esi, dword [rsp + 0x64]
test esi, esi
je 0x1400038b1
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rdx
mov qword [rsp + 0x70], r14
mov r9, rdi
lea r8, [rbp + 0x1c0]
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.140002b14
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003d33
jmp 0x140003a1d
cmp dword [rbp + 0x2240], edx
jne 0x140003949
test r13d, r13d
je 0x140003949
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140001c08
test eax, eax
jne 0x140003d8c
mov rsi, qword [rsp + 0x70]
test rsi, rsi
jne 0x140003914
lea r8, str.m_hKey___0
mov edx, 0x1544
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.140087b08
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140003d6d
test rsi, rsi
je 0x140003949
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdx, rdi
mov rcx, r12
call fcn.140003134
jmp 0x1400036b0
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140003979
cmp ax, 0x5c
je 0x140003980
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140003961
jmp 0x140003989
test rcx, rcx
jne 0x140003da1
mov esi, dword [rsp + 0x64]
test esi, esi
je 0x140003a6c
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001c08
test eax, eax
je 0x1400039de
mov r9d, 0x20019
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001c08
test eax, eax
je 0x1400039de
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001b48
test eax, eax
jne 0x140003da8
mov rdx, rdi
mov rcx, r12
call fcn.140002928
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003db8
cmp word [rdi], 0x3d
jne 0x140003a19
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.140002b14
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003db8
mov r15, qword [rbp - 0x78]
cmp word [rdi], 0x7b
jne 0x1400036ba
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140003a2b
mov ecx, 1
cmp rax, rcx
jne 0x1400036ba
mov dword [rsp + 0x20], edx
mov r9d, esi
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.14000364c
mov ebx, eax
test eax, eax
js 0x140003d33
mov rdx, rdi
mov rcx, r12
jmp 0x1400036ab
mov ebx, dword [rbp + 0x2240]
test ebx, ebx
jne 0x140003a93
mov r9d, 0x20019
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001c08
mov esi, eax
mov r15, qword [rbp - 0x78]
jmp 0x140003a98
mov esi, 2
mov r14d, ebx
test esi, esi
mov eax, 1
cmovne r14d, eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
test eax, eax
je 0x140003aea
cmp eax, 0xc
je 0x140003dc8
cmp eax, 0x16
je 0x140003dde
cmp eax, 0x22
je 0x140003dde
cmp eax, 0x50
jne 0x140003dd3
mov rdx, rdi
mov rcx, r12
call fcn.140002928
mov ebx, eax
test eax, eax
js 0x140003d33
mov rdx, rdi
mov rcx, r12
call fcn.140003134
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003d33
cmp word [rdi], 0x7b
jne 0x140003b6f
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140003b20
mov ecx, 1
cmp rax, rcx
jne 0x140003b6f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.14000364c
mov ebx, eax
test eax, eax
jns 0x140003b58
test r14d, r14d
je 0x140003d33
mov rdx, rdi
mov rcx, r12
call fcn.140002928
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003d33
cmp esi, 2
je 0x140003b84
test esi, esi
je 0x140003b8e
cmp dword [rbp + 0x2240], edx
je 0x140003dc1
mov r14, qword [rsp + 0x68]
jmp 0x1400036ba
cmp dword [rbp + 0x2240], edx
je 0x140003c02
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, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x140003c6e
lea r8, [0x140153a84]
mov edx, 0x429
lea rcx, str.onecoreexternal_sdkinc_atlmfc_statreg.h
call fcn.140087b08
xor edx, edx
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, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
xor edx, edx
test eax, eax
je 0x140003cc5
lea r8, [0x140153a84]
mov edx, 0x429
lea rcx, str.onecoreexternal_sdkinc_atlmfc_statreg.h
call fcn.140087b08
xor edx, edx
mov esi, edx
jmp 0x140003ccf
cmp dword [rsp + 0x60], edx
jbe 0x140003c02
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
je 0x140003b84
add rsi, 8
lea rax, [0x140151940]
cmp rsi, rax
jl 0x140003c7b
test r13d, r13d
je 0x140003b84
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.140001d88
mov r15, qword [rbp - 0x78]
jmp 0x140003b84
mov esi, edx
cmp dword [rsp + 0x60], edx
seta sil
test r15, r15
je 0x140003cf0
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
xor edx, edx
mov r15d, edx
mov qword [rbp - 0x78], rdx
test eax, eax
jne 0x140003d2a
test r13d, r13d
je 0x140003b84
mov r14, qword [rsp + 0x68]
test esi, esi
jne 0x1400036ba
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rdx
mov qword [rsp + 0x70], r14
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140001a4c
test eax, eax
je 0x1400036ba
mov ecx, eax
call fcn.1400019ec
mov ebx, eax
test r15, r15
je 0x140003d47
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.14014bb60
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.1400019ec
mov ebx, eax
test rsi, rsi
je 0x140003d33
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140003d33
mov ecx, eax
call fcn.1400019ec
mov ebx, eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140003d33
jmp 0x140003d7e
mov ebx, 0x80020009
jmp 0x140003d33
mov ecx, eax
call fcn.1400019ec
mov r15, qword [rbp - 0x78]
jmp 0x140003d31
mov r15, qword [rbp - 0x78]
jmp 0x140003d33
mov ecx, esi
jmp 0x140003d2c
mov ecx, 0x8007000e
call fcn.140001950
int3
mov ecx, 0x80004005
call fcn.140001950
int3
mov ecx, 0x80070057
call fcn.140001950
int3