Function at 0x140008c5c
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.14000e510
sub rsp, rax
mov rax, qword [0x14001c508]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
mov dword [rsp + 0x68], r9d
mov qword [rsp + 0x70], r8
mov rdi, rdx
mov r12, rcx
xor esi, esi
mov r14d, esi
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], esi
mov r15d, esi
mov qword [rbp - 0x78], rsi
call fcn.140007a34
mov ebx, eax
test eax, eax
js 0x1400090ee
cmp word [rdi], 0x7d
je 0x1400090ee
mov r13d, 1
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, [0x140011e90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140008d08
test esi, esi
je 0x140008dd6
mov rdx, rdi
mov rcx, r12
call fcn.140007a34
mov ebx, eax
test eax, eax
js 0x1400090ee
xor ebx, ebx
cmp dword [rsp + 0x68], ebx
je 0x140008dd6
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x68], ebx
mov qword [rbp - 0x60], rbx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140008d4e
cmp ax, 0x5c
je 0x140008d55
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140008d3c
jmp 0x140008d5e
test rcx, rcx
jne 0x14000948b
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140008d9a
add rbx, 8
lea rax, [0x140011f30]
cmp rbx, rax
jl 0x140008d65
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140007f74
xor ebx, ebx
test esi, esi
je 0x140008dd6
mov rdx, rdi
mov rcx, r12
call fcn.140007a34
mov ebx, eax
xor r15d, r15d
test eax, eax
js 0x1400090ee
mov rdx, rdi
mov rcx, r12
call fcn.1400095a4
mov ebx, eax
test eax, eax
js 0x1400090ee
mov esi, dword [rsp + 0x68]
jmp 0x140009159
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140008e02
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.140007a34
mov ebx, eax
test eax, eax
js 0x1400090ee
lea rdx, [0x140011e88]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140008f18
lea rdx, [rbp + 0x1c0]
mov rcx, r12
call fcn.140007a34
mov ebx, eax
xor r15d, r15d
test eax, eax
js 0x1400090ee
mov rdx, rdi
mov rcx, r12
call fcn.140007a34
mov ebx, eax
test eax, eax
js 0x1400090ee
cmp word [rdi], 0x3d
jne 0x14000948b
mov esi, dword [rsp + 0x68]
test esi, esi
je 0x140008e8b
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], r15d
mov qword [rbp - 0x60], r15
mov r9, rdi
lea r8, [rbp + 0x1c0]
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.1400068d8
mov ebx, eax
jmp 0x140009155
cmp dword [rbp + 0x2240], r15d
jne 0x140008efe
test r13d, r13d
je 0x140008efe
mov rsi, r15
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008ecd
mov eax, r15d
mov rsi, qword [rsp + 0x60]
test eax, eax
jne 0x14000946b
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14000946b
test rsi, rsi
je 0x140008efe
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.1400095a4
mov ebx, eax
test eax, eax
js 0x1400090ee
jmp 0x140009458
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140008f32
cmp ax, 0x5c
je 0x140008f39
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140008f20
jmp 0x140008f42
test rcx, rcx
jne 0x14000948b
mov esi, dword [rsp + 0x68]
test esi, esi
je 0x1400091a6
xor r13d, r13d
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
test r15, r15
je 0x140008f85
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2001f
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call fcn.14000828c
jmp 0x140008f9f
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008fc2
mov eax, r13d
test r14, r14
je 0x140008fb4
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r13d
test eax, eax
je 0x140009121
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x60]
test r15, r15
je 0x140008ff9
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call fcn.14000828c
jmp 0x140009013
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009036
mov eax, r13d
test r14, r14
je 0x140009028
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r13d
test eax, eax
je 0x140009121
mov qword [rsp + 0x60], r13
lea rax, [rbp - 0x58]
test r15, r15
je 0x140009088
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x2001f
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call fcn.1400080cc
xor r15d, r15d
jmp 0x1400090be
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400090e1
mov eax, r15d
test r14, r14
je 0x1400090d3
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r15d
test eax, eax
je 0x140009124
mov ecx, eax
call fcn.140006ed8
mov ebx, eax
test r14, r14
je 0x1400090fc
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.14000df40
add rsp, 0x22d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r15d, r15d
mov rdx, rdi
mov rcx, r12
call fcn.140007a34
mov ebx, eax
test eax, eax
js 0x1400090ee
cmp word [rdi], 0x3d
jne 0x140009159
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.1400068d8
mov ebx, eax
mov r14, qword [rsp + 0x78]
test eax, eax
js 0x1400090ee
cmp word [rdi], 0x7b
jne 0x140009458
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
cmp rax, 1
jne 0x140009458
mov dword [rsp + 0x20], r15d
mov r9d, esi
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.140008c5c
mov ebx, eax
test eax, eax
js 0x1400090ee
mov rdx, rdi
mov rcx, r12
call fcn.140007a34
jmp 0x140008f09
mov ebx, dword [rbp + 0x2240]
xor eax, eax
test ebx, ebx
jne 0x14000922a
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
test r15, r15
je 0x1400091e3
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
mov r8, rdi
mov rdx, qword [rsp + 0x70]
mov rcx, r15
call fcn.14000828c
jmp 0x1400091ff
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
xor eax, eax
test esi, esi
jne 0x140009228
mov esi, eax
test r14, r14
je 0x14000921b
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
xor eax, eax
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], eax
jmp 0x14000922f
mov esi, 2
mov r15d, 1
test esi, esi
cmove r15d, ebx
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
test eax, eax
je 0x140009267
cmp eax, 0xc
je 0x14000949b
cmp eax, 0x50
jne 0x140009495
mov rdx, rdi
mov rcx, r12
call fcn.140007a34
mov ebx, eax
test eax, eax
js 0x1400090ee
mov rdx, rdi
mov rcx, r12
call fcn.1400095a4
mov ebx, eax
test eax, eax
js 0x1400090ee
cmp word [rdi], 0x7b
jne 0x1400092e5
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
cmp rax, 1
jne 0x1400092e5
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.140008c5c
mov ebx, eax
test eax, eax
jns 0x1400092cb
test r15d, r15d
je 0x1400090ee
mov rdx, rdi
mov rcx, r12
call fcn.140007a34
mov ebx, eax
xor r15d, r15d
test eax, eax
js 0x1400090ee
jmp 0x1400092e8
xor r15d, r15d
cmp esi, 2
je 0x140009458
test esi, esi
je 0x140009309
cmp dword [rbp + 0x2240], r15d
jne 0x140009458
mov ecx, esi
jmp 0x1400090e7
cmp dword [rbp + 0x2240], r15d
je 0x1400093b1
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400093b1
cmp dword [rsp + 0x60], r15d
jbe 0x1400093b1
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140009458
add rsi, 8
lea rax, [0x140011f30]
cmp rsi, rax
jl 0x14000936b
test r13d, r13d
je 0x140009458
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x78]
call fcn.140007f74
mov r14, qword [rsp + 0x78]
jmp 0x140009458
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, r15d
test eax, eax
jne 0x140009404
cmp dword [rsp + 0x60], r15d
seta sil
mov eax, r15d
test r14, r14
je 0x14000941d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, r15
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r15d
test eax, eax
jne 0x1400090e5
test r13d, r13d
je 0x140009458
test esi, esi
jne 0x140009458
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], r15d
mov qword [rbp - 0x60], r15
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.14000770c
test eax, eax
jne 0x1400090e5
cmp word [rdi], 0x7d
je 0x1400090ee
mov r15, qword [rbp - 0x78]
jmp 0x140008ccc
mov ecx, eax
call fcn.140006ed8
mov ebx, eax
test rsi, rsi
je 0x1400090ee
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400090ee
mov ebx, 0x80020009
jmp 0x1400090ee
call sub.mfc140u.dll_AfxRegDeleteKey
int3
call sub.mfc140u.dll_AfxRegisterMFCCtrlClasses
int3