Function at 0x140019ad0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x21f8]
mov eax, 0x22f8
call fcn.14002ae30
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x140087710]
xor rax, rsp
mov qword [rbp + 0x21e0], rax
mov dword [rsp + 0x50], r9d
mov qword [rsp + 0x48], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x68], rcx
mov rcx, rax
call fcn.140016cb0
mov ebx, eax
test eax, eax
js 0x14001a285
cmp word [rsi], 0x7d
je 0x14001a285
mov ecx, 1
mov dword [rsp + 0x54], ecx
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edi, edi
test eax, eax
sete dil
lea rdx, [0x140056920]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140019b86
test edi, edi
je 0x140019c64
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140016cb0
mov ebx, eax
test eax, eax
js 0x14001a285
cmp dword [rsp + 0x50], 0
je 0x140019c64
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
mov qword [rbp - 0x80], rax
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x140019be9
cmp ax, 0x5c
je 0x140019be0
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140019bc7
jmp 0x140019be9
test rcx, rcx
jne 0x14001a250
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140019c36
add rbx, 8
lea rax, [0x140058a70]
cmp rbx, rax
jl 0x140019bf0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rbp - 0x80], rbx
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140019160
mov qword [rsp + 0x70], rbx
test edi, edi
je 0x140019c64
mov rdx, rsi
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140016cb0
mov ebx, eax
test eax, eax
js 0x14001a285
mov rdx, rsi
mov rcx, rdi
call fcn.14001b660
jmp 0x140019f4f
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x140019c96
mov dword [rsp + 0x54], eax
mov rdx, rsi
mov rcx, rdi
call fcn.140016cb0
mov ebx, eax
test eax, eax
js 0x14001a285
lea rdx, [0x140056918]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140019dab
lea rdx, [rbp + 0x1e0]
mov rcx, rdi
call fcn.140016cb0
mov ebx, eax
test eax, eax
js 0x14001a285
mov rdx, rsi
mov rcx, rdi
call fcn.140016cb0
mov ebx, eax
test eax, eax
js 0x14001a285
cmp word [rsi], 0x3d
jne 0x14001a250
cmp dword [rsp + 0x50], 0
je 0x140019d2a
xor eax, eax
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
xor eax, eax
mov dword [rbp - 0x70], eax
mov qword [rbp - 0x68], rax
mov r9, rsi
lea r8, [rbp + 0x1e0]
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.140013c90
mov ebx, eax
mov qword [rbp - 0x78], 0
jmp 0x140019f51
cmp dword [rbp + 0x2240], 0
jne 0x140019d9b
cmp dword [rsp + 0x54], 0
je 0x140019d9b
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001a27c
lea rdx, [rbp + 0x1e0]
mov rdi, qword [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14001a237
test rdi, rdi
je 0x140019d96
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x40]
mov rdx, rsi
mov rcx, rdi
call fcn.14001b660
jmp 0x140019b35
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x140019dd8
cmp ax, 0x5c
je 0x140019dcf
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140019db6
jmp 0x140019dd8
test rcx, rcx
jne 0x14001a250
cmp dword [rsp + 0x50], 0
je 0x140019fb6
mov qword [rbp - 0x40], 0
mov rbx, qword [rsp + 0x68]
lea rax, [rbp - 0x40]
test rbx, rbx
je 0x140019e1b
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2001f
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.1400194f0
jmp 0x140019e37
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140019e66
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140019e4b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rbp - 0x40]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], 0
test eax, eax
je 0x140019f1c
jmp 0x140019e6b
mov rdi, qword [rsp + 0x58]
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
test rbx, rbx
je 0x140019ea3
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.1400194f0
mov rbx, qword [rsp + 0x48]
jmp 0x140019ec2
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140019ee9
test rdi, rdi
je 0x140019ed4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rbp - 0x40]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], 0
test eax, eax
je 0x140019f1c
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400151d0
test eax, eax
jne 0x14001a27c
mov rdx, rsi
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140016cb0
mov ebx, eax
test eax, eax
js 0x14001a285
cmp word [rsi], 0x3d
jne 0x140019f59
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140013c90
mov ebx, eax
test eax, eax
js 0x14001a285
cmp word [rsi], 0x7b
jne 0x140019b3f
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140019f70
cmp rax, 1
jne 0x140019b3f
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, rdi
call fcn.140019ad0
mov ebx, eax
test eax, eax
js 0x14001a285
mov rdx, rsi
mov rcx, rdi
jmp 0x140019b30
mov ebx, dword [rbp + 0x2240]
test ebx, ebx
jne 0x14001a04a
mov qword [rbp - 0x40], 0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140019ffc
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1400194f0
jmp 0x14001a01c
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14001a04f
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14001a037
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0
jmp 0x14001a04f
mov edi, 2
mov eax, ebx
test edi, edi
mov ecx, 1
cmovne eax, ecx
mov dword [rbp - 0x40], eax
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.140036070
test eax, eax
je 0x14001a09b
cmp eax, 0xc
je 0x14001a26d
cmp eax, 0x16
je 0x14001a262
cmp eax, 0x22
je 0x14001a262
cmp eax, 0x50
jne 0x14001a257
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140016cb0
mov ebx, eax
test eax, eax
js 0x14001a285
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14001b660
mov ebx, eax
test eax, eax
js 0x14001a285
cmp word [rsi], 0x7b
jne 0x14001a126
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], 0
jne 0x14001a0d3
cmp rax, 1
jne 0x14001a126
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140019ad0
mov ebx, eax
test eax, eax
jns 0x14001a10f
cmp dword [rbp - 0x40], 0
je 0x14001a285
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.140016cb0
mov ebx, eax
test eax, eax
js 0x14001a285
cmp edi, 2
je 0x140019b3f
test edi, edi
je 0x14001a145
cmp dword [rbp + 0x2240], 0
je 0x14001a278
jmp 0x140019b3f
cmp dword [rbp + 0x2240], 0
je 0x14001a1b3
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call fcn.140015680
test eax, eax
je 0x14001a1b3
lea rdi, str.AppID
nop dword [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140019b3f
add rdi, 8
lea rax, [0x140058a70]
cmp rdi, rax
jl 0x14001a170
cmp dword [rsp + 0x54], 0
je 0x140019b3f
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call fcn.140019160
jmp 0x140019b3f
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call fcn.140015680
mov edi, eax
xor eax, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001a1dd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], 0
test eax, eax
jne 0x14001a27c
cmp dword [rsp + 0x54], eax
je 0x140019b3f
test edi, edi
jne 0x140019b3f
xor eax, eax
mov qword [rbp - 0x58], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], edi
mov qword [rbp - 0x50], 0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400152e0
mov qword [rbp - 0x60], 0
test eax, eax
jne 0x14001a27c
jmp 0x140019b3f
mov ecx, eax
call fcn.1400143c0
mov ebx, eax
test rdi, rdi
je 0x14001a285
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001a285
mov ebx, 0x80020009
jmp 0x14001a285
mov ecx, 0x80004005
call fcn.140007bb0
int3
mov ecx, 0x80070057
call fcn.140007bb0
int3
mov ecx, 0x8007000e
call fcn.140007bb0
int3
mov ecx, edi
jmp 0x14001a27e
mov ecx, eax
call fcn.1400143c0
mov ebx, eax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14001a298
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21e0]
xor rcx, rsp
call fcn.14002ad40
add rsp, 0x22f8
pop rdi
pop rsi
pop rbx
pop rbp
ret