Function at 0x140006e50
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21e8]
mov eax, 0x22e8
call fcn.140038f10
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x140058010]
xor rax, rsp
mov qword [rbp + 0x21d0], rax
mov dword [rsp + 0x60], r9d
mov r15, r8
mov qword [rsp + 0x70], r8
mov rdi, rdx
mov r12, rcx
xor eax, eax
mov r14d, eax
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], eax
mov qword [rbp - 0x60], rax
call fcn.140006c98
test eax, eax
mov ebx, eax
js 0x14000720c
cmp word [rdi], 0x7d
je 0x14000720c
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, [0x14003c4a8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140006f05
test esi, esi
je 0x140006fdd
mov rdx, rdi
mov rcx, r12
call fcn.140006c98
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000720c
cmp dword [rsp + 0x60], edx
je 0x140006fdb
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x78], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140006f4c
cmp ax, 0x5c
je 0x140006f53
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140006f3a
jmp 0x140006f5c
test rcx, rcx
jne 0x140007572
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140006fa0
add rbx, 8
lea rax, str.RegOpenKeyTransactedW
cmp rbx, rax
jl 0x140006f63
mov qword [rsp + 0x78], r15
xor ebx, ebx
mov dword [rbp - 0x80], ebx
mov qword [rbp - 0x78], rbx
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140006a3c
jmp 0x140006fa2
xor ebx, ebx
test esi, esi
je 0x140006fdd
mov rdx, rdi
mov rcx, r12
call fcn.140006c98
mov ebx, eax
test eax, eax
js 0x14000720c
mov rdx, rdi
mov rcx, r12
call fcn.1400068a4
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000720c
mov esi, dword [rsp + 0x60]
jmp 0x14000727a
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140007009
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.140006c98
mov ebx, eax
test eax, eax
js 0x14000720c
lea rdx, [0x14003c4a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140007104
lea rdx, [rbp + 0x1d0]
mov rcx, r12
call fcn.140006c98
mov ebx, eax
test eax, eax
js 0x14000720c
mov rdx, rdi
mov rcx, r12
call fcn.140006c98
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000720c
cmp word [rdi], 0x3d
jne 0x140007572
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x14000708f
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x78], rdx
mov r9, rdi
lea r8, [rbp + 0x1d0]
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.1400062d4
mov ebx, eax
xor edx, edx
jmp 0x140007276
cmp dword [rbp + 0x2250], edx
jne 0x1400070f4
test r13d, r13d
je 0x1400070f4
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x78], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140006948
test eax, eax
jne 0x140007550
lea rdx, [rbp + 0x1d0]
mov rsi, qword [rsp + 0x78]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140007539
test rsi, rsi
je 0x1400070f4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.1400068a4
jmp 0x140006eb3
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x14000711e
cmp ax, 0x5c
je 0x140007125
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000710c
jmp 0x14000712e
test rcx, rcx
jne 0x140007572
mov esi, dword [rsp + 0x60]
test esi, esi
je 0x1400072c9
mov r14d, 0x2001f
mov r9d, r14d
mov r8, rdi
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.140006948
xor ebx, ebx
test eax, eax
je 0x14000723f
lea r9d, [r14 - 6]
mov r8, rdi
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.140006948
test eax, eax
je 0x14000723f
mov qword [rsp + 0x68], rbx
mov rcx, qword [rbp - 0x60]
lea rax, [rbp - 0x58]
test rcx, rcx
je 0x1400071a5
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov r8, rdi
mov rdx, r15
call fcn.1400061b0
jmp 0x1400071d4
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor edx, edx
test eax, eax
jne 0x1400071fb
mov eax, edx
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400071ed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r14, qword [rsp + 0x68]
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], edx
jmp 0x1400071ff
mov r14, qword [rbp - 0x70]
test eax, eax
je 0x140007243
mov ecx, eax
call fcn.140006c88
mov ebx, eax
test r14, r14
je 0x14000721a
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21d0]
xor rcx, rsp
call fcn.140037600
add rsp, 0x22e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r14, qword [rbp - 0x70]
mov rdx, rdi
mov rcx, r12
call fcn.140006c98
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000720c
cmp word [rdi], 0x3d
jne 0x14000727a
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.1400062d4
mov ebx, eax
xor edx, edx
mov r14, qword [rbp - 0x70]
test eax, eax
js 0x14000720c
cmp word [rdi], 0x7b
jne 0x140006ebd
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140007288
mov ecx, 1
cmp rax, rcx
jne 0x140006ebd
mov dword [rsp + 0x20], edx
mov r9d, esi
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.140006e50
mov ebx, eax
test eax, eax
js 0x14000720c
mov rdx, rdi
mov rcx, r12
jmp 0x140006eae
mov ebx, dword [rbp + 0x2250]
test ebx, ebx
jne 0x1400072f0
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.140006948
mov esi, eax
mov r14, qword [rbp - 0x70]
jmp 0x1400072f5
mov esi, 2
mov r15d, ebx
test esi, esi
mov eax, 1
cmovne r15d, eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
test eax, eax
je 0x140007341
cmp eax, 0xc
je 0x140007583
cmp eax, 0x16
je 0x140007599
cmp eax, 0x22
je 0x140007599
cmp eax, 0x50
jne 0x14000758e
mov rdx, rdi
mov rcx, r12
call fcn.140006c98
mov ebx, eax
test eax, eax
js 0x14000720c
mov rdx, rdi
mov rcx, r12
call fcn.1400068a4
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000720c
cmp word [rdi], 0x7b
jne 0x1400073c6
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x140007377
mov ecx, 1
cmp rax, rcx
jne 0x1400073c6
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.140006e50
mov ebx, eax
test eax, eax
jns 0x1400073af
test r15d, r15d
je 0x14000720c
mov rdx, rdi
mov rcx, r12
call fcn.140006c98
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000720c
cmp esi, 2
je 0x1400073db
test esi, esi
je 0x1400073e5
cmp dword [rbp + 0x2250], edx
je 0x14000757c
mov r15, qword [rsp + 0x70]
jmp 0x140006ebd
cmp dword [rbp + 0x2250], edx
je 0x140007486
mov dword [rsp + 0x68], 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 + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x140007486
cmp dword [rsp + 0x68], edx
jbe 0x140007486
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400073db
add rsi, 8
lea rax, str.RegOpenKeyTransactedW
cmp rsi, rax
jl 0x140007446
test r13d, r13d
je 0x1400073db
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x70]
call fcn.140006a3c
mov r14, qword [rbp - 0x70]
jmp 0x1400073db
mov dword [rsp + 0x68], 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 + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov esi, edx
test eax, eax
jne 0x1400074d8
cmp dword [rsp + 0x68], edx
seta sil
mov eax, edx
test r14, r14
je 0x1400074f1
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r14d, edx
mov qword [rbp - 0x70], rdx
mov dword [rbp - 0x68], edx
test eax, eax
jne 0x140007203
mov r15, qword [rsp + 0x70]
test r13d, r13d
je 0x140006ebd
test esi, esi
jne 0x140006ebd
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x78], rdx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.140006b70
test eax, eax
jne 0x140007203
jmp 0x140006ebd
mov ecx, eax
call fcn.140006c88
mov ebx, eax
test rsi, rsi
je 0x14000720c
mov rcx, rsi
jmp 0x140007567
mov ecx, eax
call fcn.140006c88
mov ebx, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000720c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000720c
mov ebx, 0x80020009
jmp 0x14000720c
mov ecx, esi
jmp 0x140007205
mov ecx, 0x8007000e
call fcn.140006880
int3
mov ecx, 0x80004005
call fcn.140006880
int3
mov ecx, 0x80070057
call fcn.140006880
int3