Function at 0x1400037e4
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.140141f40
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x140170608]
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.140002a90
test eax, eax
mov ebx, eax
js 0x140003e6f
cmp word [rdi], 0x7d
je 0x140003e6f
mov eax, 1
mov r13d, 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 0x14000389a
test esi, esi
je 0x140003969
mov rdx, rdi
mov rcx, r12
call fcn.140002a90
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003e6f
cmp dword [rsp + 0x64], edx
je 0x140003967
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1400038e3
cmp ax, 0x5c
je 0x1400038ea
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1400038d1
jmp 0x1400038f3
test rcx, rcx
jne 0x140003ed0
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000392c
add rbx, 8
lea rax, [0x1401454b0]
cmp rbx, rax
jl 0x1400038fa
mov qword [rsp + 0x70], r14
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140002014
xor ebx, ebx
test esi, esi
je 0x140003969
mov rdx, rdi
mov rcx, r12
call fcn.140002a90
mov ebx, eax
test eax, eax
js 0x140003e6f
mov rdx, rdi
mov rcx, r12
call fcn.140003238
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003e6f
mov esi, dword [rsp + 0x64]
jmp 0x140003b77
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140003995
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.140002a90
mov ebx, eax
test eax, eax
js 0x140003e6f
lea rdx, [0x140148ab8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140003ab9
lea rdx, [rbp + 0x1c0]
mov rcx, r12
call fcn.140002a90
mov ebx, eax
test eax, eax
js 0x140003e6f
mov rdx, rdi
mov rcx, r12
call fcn.140002a90
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003e6f
cmp word [rdi], 0x3d
jne 0x140003ed0
mov esi, dword [rsp + 0x64]
test esi, esi
je 0x140003a25
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.140002c48
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003e6f
jmp 0x140003b77
cmp dword [rbp + 0x2240], edx
jne 0x140003aa9
test r13d, r13d
je 0x140003aa9
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.140001ea4
test eax, eax
jne 0x140003ebb
mov rsi, qword [rsp + 0x70]
test rsi, rsi
jne 0x140003a80
lea r8, str.m_hKey___0
mov edx, 0x150c
lea rcx, str.sdkinc_atlmfc_atlbase.h
call fcn.14008388c
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140003ea2
test rsi, rsi
je 0x140003aa9
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.140003238
jmp 0x140003848
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140003ad3
cmp ax, 0x5c
je 0x140003ada
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140003ac1
jmp 0x140003ae3
test rcx, rcx
jne 0x140003ed0
mov esi, dword [rsp + 0x64]
test esi, esi
je 0x140003bc6
mov r9d, 0x2001f
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001ea4
test eax, eax
je 0x140003b38
mov r9d, 0x20019
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001ea4
test eax, eax
je 0x140003b38
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001df0
test eax, eax
jne 0x140003ed7
mov rdx, rdi
mov rcx, r12
call fcn.140002a90
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003ee4
cmp word [rdi], 0x3d
jne 0x140003b73
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.140002c48
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003ee4
mov r15, qword [rbp - 0x78]
cmp word [rdi], 0x7b
jne 0x140003852
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140003b85
mov ecx, 1
cmp rax, rcx
jne 0x140003852
mov dword [rsp + 0x20], edx
mov r9d, esi
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.1400037e4
mov ebx, eax
test eax, eax
js 0x140003e6f
mov rdx, rdi
mov rcx, r12
jmp 0x140003843
mov ebx, dword [rbp + 0x2240]
test ebx, ebx
jne 0x140003bed
mov r9d, 0x20019
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140001ea4
mov esi, eax
mov r15, qword [rbp - 0x78]
jmp 0x140003bf2
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]
test eax, eax
je 0x140003c3e
cmp eax, 0xc
je 0x140003ef1
cmp eax, 0x16
je 0x140003f07
cmp eax, 0x22
je 0x140003f07
cmp eax, 0x50
jne 0x140003efc
mov rdx, rdi
mov rcx, r12
call fcn.140002a90
mov ebx, eax
test eax, eax
js 0x140003e6f
mov rdx, rdi
mov rcx, r12
call fcn.140003238
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003e6f
cmp word [rdi], 0x7b
jne 0x140003cc3
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140003c74
mov ecx, 1
cmp rax, rcx
jne 0x140003cc3
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, r15
mov rdx, rdi
mov rcx, r12
call fcn.1400037e4
mov ebx, eax
test eax, eax
jns 0x140003cac
test r14d, r14d
je 0x140003e6f
mov rdx, rdi
mov rcx, r12
call fcn.140002a90
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140003e6f
cmp esi, 2
je 0x140003cd8
test esi, esi
je 0x140003ce2
cmp dword [rbp + 0x2240], edx
je 0x140003eea
mov r14, qword [rsp + 0x68]
jmp 0x140003852
cmp dword [rbp + 0x2240], edx
je 0x140003d50
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]
xor edx, edx
test eax, eax
je 0x140003db6
lea r8, [0x140148904]
mov edx, 0x426
lea rcx, str.sdkinc_atlmfc_statreg.h
call fcn.14008388c
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]
xor edx, edx
test eax, eax
je 0x140003e07
lea r8, [0x140148904]
mov edx, 0x426
lea rcx, str.sdkinc_atlmfc_statreg.h
call fcn.14008388c
xor edx, edx
mov esi, edx
jmp 0x140003e11
cmp dword [rsp + 0x60], edx
jbe 0x140003d50
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140003cd8
add rsi, 8
lea rax, [0x1401454b0]
cmp rsi, rax
jl 0x140003dc3
test r13d, r13d
je 0x140003cd8
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.140002014
mov r15, qword [rbp - 0x78]
jmp 0x140003cd8
mov esi, edx
cmp dword [rsp + 0x60], edx
seta sil
test r15, r15
je 0x140003e2c
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r15d, edx
mov qword [rbp - 0x78], rdx
test eax, eax
jne 0x140003e66
test r13d, r13d
je 0x140003cd8
mov r14, qword [rsp + 0x68]
test esi, esi
jne 0x140003852
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.140001d14
test eax, eax
je 0x140003852
mov ecx, eax
call fcn.140001cc8
mov ebx, eax
test r15, r15
je 0x140003e7d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.140141340
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.140001cc8
mov ebx, eax
test rsi, rsi
je 0x140003e6f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140003e6f
mov ecx, eax
call fcn.140001cc8
mov ebx, eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140003e6f
jmp 0x140003eb3
mov ebx, 0x80020009
jmp 0x140003e6f
mov ecx, eax
call fcn.140001cc8
mov r15, qword [rbp - 0x78]
jmp 0x140003e6d
mov r15, qword [rbp - 0x78]
jmp 0x140003e6f
mov ecx, esi
jmp 0x140003e68
mov ecx, 0x8007000e
call fcn.140001c2c
int3
mov ecx, 0x80004005
call fcn.140001c2c
int3
mov ecx, 0x80070057
call fcn.140001c2c
int3