Function at 0x14000388c
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.1401540e0
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x140183808]
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.140002b68
test eax, eax
mov ebx, eax
js 0x140003f73
cmp word [rdi], 0x7d
je 0x140003f73
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 0x14000394e
test esi, esi
je 0x140003a29
mov rdx, rdi
mov rcx, r12
call fcn.140002b68
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003f73
cmp dword [rsp + 0x64], edx
je 0x140003a27
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x14000399d
cmp ax, 0x5c
je 0x1400039a4
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140003985
jmp 0x1400039ad
test rcx, rcx
jne 0x140003fe1
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 0x1400039ec
add rbx, 8
lea rax, [0x1401589a0]
cmp rbx, rax
jl 0x1400039b4
mov qword [rsp + 0x70], r14
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140001fc8
xor ebx, ebx
test esi, esi
je 0x140003a29
mov rdx, rdi
mov rcx, r12
call fcn.140002b68
mov ebx, eax
test eax, eax
js 0x140003f73
mov rdx, rdi
mov rcx, r12
call fcn.140003374
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003f73
mov esi, dword [rsp + 0x64]
jmp 0x140003c5d
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 0x140003a5b
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.140002b68
mov ebx, eax
test eax, eax
js 0x140003f73
lea rdx, [0x14015ae98]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [rax + rax]
test eax, eax
jne 0x140003b99
lea rdx, [rbp + 0x1c0]
mov rcx, r12
call fcn.140002b68
mov ebx, eax
test eax, eax
js 0x140003f73
mov rdx, rdi
mov rcx, r12
call fcn.140002b68
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003f73
cmp word [rdi], 0x3d
jne 0x140003fe1
mov esi, dword [rsp + 0x64]
test esi, esi
je 0x140003af1
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.140002d54
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003f73
jmp 0x140003c5d
cmp dword [rbp + 0x2240], edx
jne 0x140003b89
test r13d, r13d
je 0x140003b89
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.140001e48
test eax, eax
jne 0x140003fcc
mov rsi, qword [rsp + 0x70]
test rsi, rsi
jne 0x140003b54
lea r8, str.m_hKey___0
mov edx, 0x1544
lea rcx, str.onecoreexternal_sdkinc_atlmfc_atlbase.h
call fcn.14008f4c8
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140003fad
test rsi, rsi
je 0x140003b89
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdx, rdi
mov rcx, r12
call fcn.140003374
jmp 0x1400038f0
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140003bb9
cmp ax, 0x5c
je 0x140003bc0
call qword [sym.imp.USER32.dll_CharNextW]
nop dword [rax + rax]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140003ba1
jmp 0x140003bc9
test rcx, rcx
jne 0x140003fe1
mov esi, dword [rsp + 0x64]
test esi, esi
je 0x140003cac
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001e48
test eax, eax
je 0x140003c1e
mov r9d, 0x20019
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001e48
test eax, eax
je 0x140003c1e
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001d88
test eax, eax
jne 0x140003fe8
mov rdx, rdi
mov rcx, r12
call fcn.140002b68
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003ff8
cmp word [rdi], 0x3d
jne 0x140003c59
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.140002d54
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003ff8
mov r15, qword [rbp - 0x78]
cmp word [rdi], 0x7b
jne 0x1400038fa
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140003c6b
mov ecx, 1
cmp rax, rcx
jne 0x1400038fa
mov dword [rsp + 0x20], edx
mov r9d, esi
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.14000388c
mov ebx, eax
test eax, eax
js 0x140003f73
mov rdx, rdi
mov rcx, r12
jmp 0x1400038eb
mov ebx, dword [rbp + 0x2240]
test ebx, ebx
jne 0x140003cd3
mov r9d, 0x20019
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001e48
mov esi, eax
mov r15, qword [rbp - 0x78]
jmp 0x140003cd8
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 0x140003d2a
cmp eax, 0xc
je 0x140004008
cmp eax, 0x16
je 0x14000401e
cmp eax, 0x22
je 0x14000401e
cmp eax, 0x50
jne 0x140004013
mov rdx, rdi
mov rcx, r12
call fcn.140002b68
mov ebx, eax
test eax, eax
js 0x140003f73
mov rdx, rdi
mov rcx, r12
call fcn.140003374
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003f73
cmp word [rdi], 0x7b
jne 0x140003daf
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140003d60
mov ecx, 1
cmp rax, rcx
jne 0x140003daf
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.14000388c
mov ebx, eax
test eax, eax
jns 0x140003d98
test r14d, r14d
je 0x140003f73
mov rdx, rdi
mov rcx, r12
call fcn.140002b68
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003f73
cmp esi, 2
je 0x140003dc4
test esi, esi
je 0x140003dce
cmp dword [rbp + 0x2240], edx
je 0x140004001
mov r14, qword [rsp + 0x68]
jmp 0x1400038fa
cmp dword [rbp + 0x2240], edx
je 0x140003e42
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 0x140003eae
lea r8, [0x14015aca4]
mov edx, 0x429
lea rcx, str.onecoreexternal_sdkinc_atlmfc_statreg.h
call fcn.14008f4c8
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 0x140003f05
lea r8, [0x14015aca4]
mov edx, 0x429
lea rcx, str.onecoreexternal_sdkinc_atlmfc_statreg.h
call fcn.14008f4c8
xor edx, edx
mov esi, edx
jmp 0x140003f0f
cmp dword [rsp + 0x60], edx
jbe 0x140003e42
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 0x140003dc4
add rsi, 8
lea rax, [0x1401589a0]
cmp rsi, rax
jl 0x140003ebb
test r13d, r13d
je 0x140003dc4
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.140001fc8
mov r15, qword [rbp - 0x78]
jmp 0x140003dc4
mov esi, edx
cmp dword [rsp + 0x60], edx
seta sil
test r15, r15
je 0x140003f30
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 0x140003f6a
test r13d, r13d
je 0x140003dc4
mov r14, qword [rsp + 0x68]
test esi, esi
jne 0x1400038fa
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.140001c8c
test eax, eax
je 0x1400038fa
mov ecx, eax
call fcn.140001c2c
mov ebx, eax
test r15, r15
je 0x140003f87
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.1401534b0
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.140001c2c
mov ebx, eax
test rsi, rsi
je 0x140003f73
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140003f73
mov ecx, eax
call fcn.140001c2c
mov ebx, eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140003f73
jmp 0x140003fbe
mov ebx, 0x80020009
jmp 0x140003f73
mov ecx, eax
call fcn.140001c2c
mov r15, qword [rbp - 0x78]
jmp 0x140003f71
mov r15, qword [rbp - 0x78]
jmp 0x140003f73
mov ecx, esi
jmp 0x140003f6c
mov ecx, 0x8007000e
call fcn.140001b90
int3
mov ecx, 0x80004005
call fcn.140001b90
int3
mov ecx, 0x80070057
call fcn.140001b90
int3