Function at 0x140019c30
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2228]
mov eax, 0x2328
call fcn.14004e430
sub rsp, rax
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rax, qword [0x1400cfdf0]
xor rax, rsp
mov qword [rbp + 0x2210], rax
mov dword [rsp + 0x60], r9d
mov rsi, r8
mov qword [rsp + 0x68], r8
mov r15, rdx
mov r14, rcx
xor eax, eax
mov qword [rsp + 0x78], rax
xor edi, edi
mov r12d, edi
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], edi
mov qword [rbp - 0x80], rdi
call fcn.1400169e0
mov ebx, eax
test eax, eax
js 0x14001a64f
cmp word [r15], 0x7d
je 0x14001a64f
mov ecx, 1
mov r13d, ecx
lea rdx, str.Delete
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
sete dil
lea rdx, [0x1400958a8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140019ceb
test edi, edi
je 0x140019dc8
mov rdx, r15
mov rcx, r14
call fcn.1400169e0
mov ebx, eax
test eax, eax
js 0x14001a64f
cmp dword [rsp + 0x60], 0
je 0x140019dc8
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], eax
mov qword [rbp - 0x68], rax
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x140019d4a
cmp ax, 0x5c
je 0x140019d41
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140019d28
jmp 0x140019d4a
test rcx, rcx
jne 0x14001a6b5
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140019d8e
add rbx, 8
lea rax, [0x140097630]
cmp rbx, rax
jl 0x140019d51
mov qword [rbp - 0x78], rsi
xor ebx, ebx
mov dword [rbp - 0x70], ebx
mov qword [rbp - 0x68], rbx
mov rdx, r15
lea rcx, [rbp - 0x78]
call fcn.1400190c0
mov qword [rbp - 0x78], rbx
test edi, edi
je 0x140019dc8
mov rdx, r15
mov rcx, r14
call fcn.1400169e0
mov ebx, eax
test eax, eax
js 0x14001a64f
mov rdx, r15
mov rcx, r14
call fcn.14001b410
mov ebx, eax
test eax, eax
js 0x14001a64f
mov edi, dword [rsp + 0x60]
xor r13d, r13d
jmp 0x14001a3f0
lea rdx, str.NoRemove
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140019df4
xor r13d, r13d
mov rdx, r15
mov rcx, r14
call fcn.1400169e0
mov ebx, eax
test eax, eax
js 0x14001a64f
lea rdx, [0x1400958a0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14001a224
lea rbx, [rbp + 0x210]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x140019e3f
cmp ax, 0xa
jbe 0x140019e31
cmp ax, 0xd
je 0x140019e31
cmp ax, 0x20
jne 0x140019e3f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140019e13
xor ecx, ecx
cmp cx, ax
je 0x14001a6b5
mov edx, 0x27
cmp dx, ax
jne 0x140019f30
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
movzx eax, word [rax]
xor edi, edi
cmp di, ax
je 0x140019f0f
mov ecx, 0x27
cmp cx, ax
jne 0x140019e96
mov rcx, rdx
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x140019f0f
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x140019eb2
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdx, rax
mov qword [r14], rax
mov rcx, rax
sub rcx, rdi
sar rcx, 1
lea rax, [rcx + 1]
lea rax, [rbx + rax*2]
lea r8, [rbp + 0x2210]
cmp rax, r8
jae 0x14001a6b5
test ecx, ecx
jle 0x140019f01
sub rdi, rbx
mov ecx, ecx
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140019ef0
movzx eax, word [rdx]
xor edi, edi
cmp di, ax
jne 0x140019e75
mov rcx, qword [r14]
cmp di, word [rcx]
je 0x14001a6b5
mov word [rbx], di
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140019fb2
cmp ax, 0x20
ja 0x140019f49
movzx eax, ax
movabs rdx, 0x100002600
bt rdx, rax
jb 0x140019faf
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [rbp + 0x2210]
cmp rcx, rax
jae 0x14001a6b5
test edx, edx
jle 0x140019fa1
sub rdi, rbx
mov ecx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x140019f90
movzx eax, word [r8]
mov rdi, r8
xor ecx, ecx
cmp cx, ax
jne 0x140019f30
mov word [rbx], cx
mov rbx, r15
nop word [rax + rax]
mov rdi, qword [r14]
movzx eax, word [rdi]
cmp ax, 9
jb 0x140019fec
cmp ax, 0xa
jbe 0x140019fde
cmp ax, 0xd
je 0x140019fde
cmp ax, 0x20
jne 0x140019fec
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
jmp 0x140019fc0
xor ecx, ecx
cmp cx, ax
je 0x14001a6b5
mov edx, 0x27
cmp dx, ax
jne 0x14001a0e2
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
movzx eax, word [rax]
xor edi, edi
cmp di, ax
je 0x14001a0c3
mov ecx, 0x27
cmp cx, ax
jne 0x14001a043
mov rcx, r8
call qword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x27
cmp cx, word [rax]
jne 0x14001a0c3
mov rdi, qword [r14]
mov eax, 0x27
cmp ax, word [rdi]
jne 0x14001a05f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
mov rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x14001a6b5
test edx, edx
jle 0x14001a0b4
sub rdi, rbx
mov ecx, edx
nop dword [rax + rax]
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14001a0a0
mov r8, qword [r14]
movzx eax, word [r8]
xor edi, edi
cmp di, ax
jne 0x14001a022
mov rax, qword [r14]
cmp di, word [rax]
je 0x14001a6b5
mov word [rbx], di
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharNextW]
mov qword [r14], rax
xor ecx, ecx
jmp 0x14001a156
cmp ax, 0x20
ja 0x14001a0f8
movabs rdx, 0x100002600
bt rdx, rax
jb 0x14001a153
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov r8, rax
mov qword [r14], rax
mov rdx, rax
sub rdx, rdi
sar rdx, 1
lea rcx, [rdx + 1]
lea rcx, [rbx + rcx*2]
lea rax, [r15 + 0x2000]
cmp rcx, rax
jae 0x14001a6b5
test edx, edx
jle 0x14001a145
sub rdi, rbx
mov ecx, edx
movzx eax, word [rdi + rbx]
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14001a131
mov r8, qword [r14]
movzx eax, word [r8]
mov rdi, r8
xor ecx, ecx
cmp cx, ax
jne 0x14001a0e2
mov word [rbx], cx
cmp word [r15], 0x3d
jne 0x14001a6b5
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x14001a19f
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rsi
xor r13d, r13d
mov dword [rbp - 0x40], r13d
mov qword [rbp - 0x38], r13
mov r9, r15
lea r8, [rbp + 0x210]
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.140010f70
mov ebx, eax
mov qword [rbp - 0x48], r13
jmp 0x14001a3e8
cmp dword [rbp + 0x2290], 0
jne 0x14001a208
test r13d, r13d
je 0x14001a208
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x58], ecx
mov qword [rbp - 0x50], rcx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140017550
test eax, eax
jne 0x14001a69b
lea rdx, [rbp + 0x210]
mov rdi, qword [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14001a682
test rdi, rdi
je 0x14001a208
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, r15
mov rcx, r14
call fcn.14001b410
mov ebx, eax
test eax, eax
js 0x14001a64f
xor edi, edi
jmp 0x140019ca6
mov rcx, r15
movzx eax, word [r15]
test ax, ax
je 0x14001a252
cmp ax, 0x5c
je 0x14001a249
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14001a230
jmp 0x14001a252
test rcx, rcx
jne 0x14001a6b5
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x14001a453
mov r9d, 0x2001f
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140017550
test eax, eax
je 0x14001a3aa
mov r9d, 0x20019
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140017550
test eax, eax
je 0x14001a3aa
xor r13d, r13d
mov qword [rbp - 0x10], r13
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14001a33d
cmp qword [rbx], r13
je 0x14001a330
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14001a2ce
lea eax, [r13 + 1]
jmp 0x14001a373
lea rdx, str.RegCreateKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14001a336
mov rcx, rax
call qword [fcn.14000dba0]
mov qword [rsp + 0x50], r13
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call rdi
jmp 0x14001a373
cmp dword [rbx + 8], r13d
jne 0x14001a33d
mov eax, 1
jmp 0x14001a373
lea rax, [rbp - 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001a6bc
mov eax, r13d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001a38e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rbp - 0x10]
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], r13d
test eax, eax
jne 0x14001a646
mov edi, dword [rsp + 0x60]
jmp 0x14001a3b2
mov r12, qword [rsp + 0x70]
xor r13d, r13d
mov rdx, r15
mov rcx, r14
call fcn.1400169e0
mov ebx, eax
test eax, eax
js 0x14001a64f
cmp word [r15], 0x3d
jne 0x14001a3f0
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140010f70
mov ebx, eax
mov r12, qword [rsp + 0x70]
test eax, eax
js 0x14001a64f
cmp word [r15], 0x7b
jne 0x14001a566
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x14001a402
cmp rax, 1
jne 0x14001a566
mov dword [rsp + 0x20], r13d
mov r9d, edi
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140019c30
mov ebx, eax
test eax, eax
js 0x14001a64f
mov rdx, r15
mov rcx, r14
call fcn.1400169e0
mov ebx, eax
test eax, eax
js 0x14001a64f
xor edi, edi
jmp 0x140019ca6
mov ebx, dword [rbp + 0x2290]
test ebx, ebx
jne 0x14001a47c
mov r9d, 0x20019
mov r8, r15
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140017550
mov edi, eax
mov r12, qword [rsp + 0x70]
jmp 0x14001a481
mov edi, 2
mov esi, ebx
test edi, edi
mov eax, 1
cmovne esi, eax
lea r9, [rax - 2]
mov r8, r15
mov edx, 0x104
lea rcx, [rbp]
call fcn.14005d1a0
test eax, eax
je 0x14001a4ca
cmp eax, 0xc
je 0x14001a6dd
cmp eax, 0x16
je 0x14001a6d2
cmp eax, 0x22
je 0x14001a6d2
cmp eax, 0x50
jne 0x14001a6c7
mov rdx, r15
mov rcx, r14
call fcn.1400169e0
mov ebx, eax
test eax, eax
js 0x14001a64f
mov rdx, r15
mov rcx, r14
call fcn.14001b410
mov ebx, eax
test eax, eax
js 0x14001a64f
cmp word [r15], 0x7b
jne 0x14001a54b
mov rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], 0
jne 0x14001a502
cmp rax, 1
jne 0x14001a54b
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call fcn.140019c30
mov ebx, eax
test eax, eax
jns 0x14001a536
test esi, esi
je 0x14001a64f
mov rdx, r15
mov rcx, r14
call fcn.1400169e0
mov ebx, eax
test eax, eax
js 0x14001a64f
cmp edi, 2
je 0x14001a561
test edi, edi
je 0x14001a56d
cmp dword [rbp + 0x2290], 0
je 0x14001a6c3
mov rsi, qword [rsp + 0x68]
xor edi, edi
jmp 0x140019ca6
cmp dword [rbp + 0x2290], 0
je 0x14001a5d5
mov rdx, r12
mov rcx, r14
call fcn.140015d80
test eax, eax
je 0x14001a5d5
lea rdi, str.AppID
nop dword [rax]
mov rdx, qword [rdi]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14001a561
add rdi, 8
lea rax, [0x140097630]
cmp rdi, rax
jl 0x14001a590
test r13d, r13d
je 0x14001a561
lea rdx, [rbp]
lea rcx, [rsp + 0x70]
call fcn.1400190c0
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
xor edi, edi
jmp 0x140019ca6
mov rdx, r12
mov rcx, r14
call fcn.140015d80
mov edi, eax
xor esi, esi
mov eax, esi
test r12, r12
je 0x14001a5fc
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12d, esi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], esi
test eax, eax
jne 0x14001a646
test r13d, r13d
je 0x14001a561
mov rsi, qword [rsp + 0x68]
test edi, edi
jne 0x14001a566
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], rsi
xor edi, edi
mov dword [rbp - 0x28], edi
mov qword [rbp - 0x20], rdi
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
call fcn.140014560
mov qword [rbp - 0x30], rdi
test eax, eax
je 0x140019ca6
mov ecx, eax
call fcn.140011fe0
mov ebx, eax
test r12, r12
je 0x14001a65d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x2210]
xor rcx, rsp
call fcn.14004e4a0
add rsp, 0x2328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.140011fe0
mov ebx, eax
test rdi, rdi
je 0x14001a64f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001a64f
mov ecx, eax
call fcn.140011fe0
mov ebx, eax
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14001a64f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001a64f
mov ebx, 0x80020009
jmp 0x14001a64f
mov r12, qword [rsp + 0x70]
jmp 0x14001a646
mov ecx, edi
jmp 0x14001a648
mov ecx, 0x80004005
call fcn.140012af0
int3
mov ecx, 0x80070057
call fcn.140012af0
int3
mov ecx, 0x8007000e
call fcn.140012af0
int3