Function at 0x14000356c
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x21e8]
mov eax, 0x22e8
call fcn.14013d9b0
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x14016d608]
xor rax, rsp
mov qword [rbp + 0x21d0], rax
mov dword [rsp + 0x70], r9d
mov qword [rsp + 0x78], r8
mov rdi, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rcx
mov rcx, rax
call fcn.14000288c
test eax, eax
mov ebx, eax
js 0x140003c52
cmp word [rdi], 0x7d
je 0x140003c52
mov eax, 1
mov dword [rsp + 0x74], 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 0x14000361d
test esi, esi
je 0x1400036e4
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000288c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003c52
cmp dword [rsp + 0x70], edx
je 0x1400036e2
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140003666
cmp ax, 0x5c
je 0x14000366d
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140003654
jmp 0x140003676
test rcx, rcx
jne 0x140003c1d
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400036b2
add rbx, 8
lea rax, [0x1401414b0]
cmp rbx, rax
jl 0x14000367d
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140001e84
xor ebx, ebx
test esi, esi
je 0x1400036e4
mov rdx, rdi
mov rsi, qword [rsp + 0x68]
mov rcx, rsi
call fcn.14000288c
mov ebx, eax
test eax, eax
js 0x140003c52
mov rdx, rdi
mov rcx, rsi
call fcn.140002fe4
jmp 0x1400038e0
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rsi, qword [rsp + 0x68]
test eax, eax
jne 0x140003716
mov dword [rsp + 0x74], ebx
mov rdx, rdi
mov rcx, rsi
call fcn.14000288c
mov ebx, eax
test eax, eax
js 0x140003c52
lea rdx, [0x140144a98]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x14000382d
lea rdx, [rbp + 0x1d0]
mov rcx, rsi
call fcn.14000288c
mov ebx, eax
test eax, eax
js 0x140003c52
mov rdx, rdi
mov rcx, rsi
call fcn.14000288c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003c52
cmp word [rdi], 0x3d
jne 0x140003c1d
cmp dword [rsp + 0x70], edx
je 0x140003791
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], rdx
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x80]
jmp 0x1400038d5
cmp dword [rbp + 0x2230], edx
jne 0x14000381d
cmp dword [rsp + 0x74], edx
je 0x14000381d
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x80]
call fcn.140001d24
test eax, eax
jne 0x140003c09
mov rsi, qword [rbp - 0x80]
test rsi, rsi
jne 0x1400037ef
lea r8, str.m_hKey___0
mov edx, 0x150a
lea rcx, str.sdkinc_atlmfc_atlbase.h
call fcn.140081b60
lea rdx, [rbp + 0x1d0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140003bf0
test rsi, rsi
je 0x140003818
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x68]
mov rdx, rdi
mov rcx, rsi
call fcn.140002fe4
jmp 0x1400035ca
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140003849
cmp ax, 0x5c
je 0x140003850
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x140003835
jmp 0x140003859
test rcx, rcx
jne 0x140003c1d
cmp dword [rsp + 0x70], edx
je 0x14000393e
mov r9d, 0x2001f
mov r8, rdi
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140001d24
test eax, eax
je 0x1400038b1
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140001d24
test eax, eax
je 0x1400038b1
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140001c74
test eax, eax
jne 0x140003c49
mov rdx, rdi
mov rcx, rsi
call fcn.14000288c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003c52
cmp word [rdi], 0x3d
jne 0x1400038ec
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov r9, rdi
mov rcx, rsi
call fcn.140002a20
xor edx, edx
mov ebx, eax
test eax, eax
js 0x140003c52
cmp word [rdi], 0x7b
jne 0x1400035d4
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x1400038fa
mov ecx, 1
cmp rax, rcx
jne 0x1400035d4
mov dword [rsp + 0x20], edx
mov r9d, dword [rsp + 0x70]
mov r8, qword [rbp - 0x68]
mov rdx, rdi
mov rcx, rsi
call fcn.14000356c
mov ebx, eax
test eax, eax
js 0x140003c52
mov rdx, rdi
mov rcx, rsi
jmp 0x1400035c5
mov ebx, dword [rbp + 0x2230]
test ebx, ebx
jne 0x140003963
mov r9d, 0x20019
mov r8, rdi
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.140001d24
mov esi, eax
jmp 0x140003968
mov esi, 2
mov eax, ebx
test esi, esi
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x60], eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
test eax, eax
je 0x1400039b6
cmp eax, 0xc
je 0x140003c3a
cmp eax, 0x16
je 0x140003c2f
cmp eax, 0x22
je 0x140003c2f
cmp eax, 0x50
jne 0x140003c24
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000288c
mov ebx, eax
test eax, eax
js 0x140003c52
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.140002fe4
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003c52
cmp word [rdi], 0x7b
jne 0x140003a4a
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x1400039f0
mov ecx, 1
cmp rax, rcx
jne 0x140003a4a
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rbp - 0x68]
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000356c
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x140003a31
cmp dword [rsp + 0x60], edx
je 0x140003c52
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.14000288c
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003c52
cmp esi, 2
je 0x1400035d4
test esi, esi
je 0x140003a68
cmp dword [rbp + 0x2230], edx
je 0x140003c45
jmp 0x1400035d4
cmp dword [rbp + 0x2230], edx
je 0x140003b29
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, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
je 0x140003ad9
lea r8, [0x1401448dc]
mov edx, 0x425
lea rcx, str.sdkinc_atlmfc_statreg.h
call fcn.140081b60
xor edx, edx
jmp 0x140003b29
cmp dword [rsp + 0x60], edx
jbe 0x140003b29
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 0x1400035d4
add rsi, 8
lea rax, [0x1401414b0]
cmp rsi, rax
jl 0x140003ae6
cmp dword [rsp + 0x74], edx
je 0x1400035d4
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.140001e84
jmp 0x1400035d4
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, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
je 0x140003b90
lea r8, [0x1401448dc]
mov edx, 0x425
lea rcx, str.sdkinc_atlmfc_statreg.h
call fcn.140081b60
xor edx, edx
mov esi, edx
jmp 0x140003b9a
mov esi, edx
cmp dword [rsp + 0x60], edx
seta sil
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140003bb7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rbp - 0x68], rdx
test eax, eax
jne 0x140003c49
cmp dword [rsp + 0x74], edx
je 0x1400035d4
test esi, esi
jne 0x1400035d4
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], rdx
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.140001ba0
test eax, eax
jne 0x140003c49
jmp 0x1400035d4
mov ecx, eax
call fcn.140001b60
mov ebx, eax
test rsi, rsi
je 0x140003c52
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140003c52
mov ecx, eax
call fcn.140001b60
mov ebx, eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140003c52
jmp 0x140003c01
mov ebx, 0x80020009
jmp 0x140003c52
mov ecx, 0x80004005
call fcn.140001ae4
int3
mov ecx, 0x80070057
call fcn.140001ae4
int3
mov ecx, 0x8007000e
call fcn.140001ae4
int3
mov ecx, esi
jmp 0x140003c4b
mov ecx, eax
call fcn.140001b60
mov ebx, eax
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x140003c64
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21d0]
xor rcx, rsp
call fcn.14013cc00
add rsp, 0x22e8
pop rdi
pop rsi
pop rbx
pop rbp
ret