Function at 0x140019544
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2238]
mov eax, 0x2338
call fcn.140030360
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x140052a10]
xor rax, rsp
mov qword [rbp + 0x2220], rax
mov dword [rsp + 0x6c], r9d
mov qword [rsp + 0x70], r8
mov rdi, rdx
mov rax, rcx
mov qword [rsp + 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rcx
mov esi, ecx
mov qword [rbp - 0x78], rcx
mov dword [rbp - 0x70], ecx
mov qword [rbp - 0x68], rcx
mov ecx, dword [rbp + 0x2280]
mov dword [rsp + 0x78], ecx
mov rcx, rax
call fcn.1400193bc
mov ebx, eax
test eax, eax
js 0x140019c7a
cmp word [rdi], 0x7d
je 0x140019c76
mov eax, 1
mov dword [rsp + 0x68], eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
mov ebx, ecx
test eax, eax
sete bl
mov dword [rbp - 0x60], ebx
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14001960e
test ebx, ebx
je 0x1400196f7
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1400193bc
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140019c76
cmp dword [rsp + 0x6c], edx
je 0x1400196f7
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x58], rdx
mov dword [rbp - 0x50], edx
mov qword [rbp - 0x48], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140019664
cmp ax, 0x5c
je 0x14001966b
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140019652
jmp 0x140019674
test rcx, rcx
jne 0x140019c3a
lea rbx, [0x1400477d0]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
je 0x1400196bf
add rbx, 8
lea rax, str.RegOpenKeyTransactedW
cmp rbx, rax
jl 0x14001967b
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], ecx
mov qword [rbp - 0x48], rcx
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.140019198
xor ecx, ecx
mov qword [rbp - 0x58], rcx
cmp dword [rbp - 0x60], ecx
je 0x1400196f7
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1400193bc
mov ebx, eax
test eax, eax
js 0x140019c76
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.140019004
mov ebx, eax
test eax, eax
js 0x140019c76
jmp 0x14001991e
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
jne 0x140019728
mov dword [rsp + 0x68], ecx
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1400193bc
mov ebx, eax
test eax, eax
js 0x140019c76
lea rdx, [0x1400476b0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x14001985a
lea rdx, [rbp + 0x220]
mov rcx, qword [rsp + 0x60]
call fcn.1400193bc
mov ebx, eax
test eax, eax
js 0x140019c76
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1400193bc
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140019c76
cmp word [rdi], 0x3d
jne 0x140019c3a
cmp dword [rsp + 0x6c], edx
je 0x1400197cb
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], edx
mov qword [rbp], rdx
mov r9, rdi
lea r8, [rbp + 0x220]
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x60]
call fcn.140018b50
mov ebx, eax
xor ecx, ecx
mov qword [rbp - 0x10], rcx
test eax, eax
jmp 0x1400196ec
cmp dword [rbp + 0x2280], edx
jne 0x14001983e
cmp dword [rsp + 0x68], edx
je 0x14001983e
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x40], rdx
mov dword [rbp - 0x38], edx
mov qword [rbp - 0x30], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.1400190a8
test eax, eax
jne 0x140019c20
lea rdx, [rbp + 0x220]
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140019c0d
test rsi, rsi
je 0x14001983e
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.140019004
mov ebx, eax
test eax, eax
js 0x140019c76
jmp 0x140019bfe
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140019876
cmp ax, 0x5c
je 0x14001987d
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x140019862
jmp 0x140019886
test rcx, rcx
jne 0x140019c41
cmp dword [rsp + 0x6c], edx
je 0x140019976
mov r9d, 0x2001f
mov r8, rdi
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.1400190a8
test eax, eax
je 0x1400198de
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.1400190a8
test eax, eax
je 0x1400198de
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.14001a48c
test eax, eax
jne 0x140019c6d
mov rdx, rdi
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call fcn.1400193bc
mov ebx, eax
test eax, eax
js 0x140019c76
cmp word [rdi], 0x3d
jne 0x14001991a
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.140018b50
mov ebx, eax
test eax, eax
js 0x140019c76
mov rsi, qword [rbp - 0x78]
cmp word [rdi], 0x7b
jne 0x140019bfe
mov rcx, rdi
call fcn.140021980
mov ecx, 1
cmp rax, rcx
jne 0x140019bfe
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x6c]
mov r8, rsi
mov rdx, rdi
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140019544
mov ebx, eax
test eax, eax
js 0x140019c76
mov rdx, rdi
mov rcx, rsi
call fcn.1400193bc
jmp 0x14001984b
mov ebx, dword [rbp + 0x2280]
test ebx, ebx
jne 0x14001999b
mov r9d, 0x20019
mov r8, rdi
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x78]
call fcn.1400190a8
mov esi, eax
jmp 0x1400199a0
mov esi, 2
test esi, esi
mov eax, 1
cmovne ebx, eax
mov dword [rbp + 0x2280], ebx
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.140022db4
test eax, eax
je 0x1400199ed
cmp eax, 0xc
je 0x140019c5e
cmp eax, 0x16
je 0x140019c53
cmp eax, 0x22
je 0x140019c53
cmp eax, 0x50
jne 0x140019c48
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1400193bc
mov ebx, eax
test eax, eax
js 0x140019c76
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.140019004
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140019c76
cmp word [rdi], 0x7b
jne 0x140019a84
mov rcx, rdi
call fcn.140021980
mov ecx, 1
cmp rax, rcx
jne 0x140019a82
mov eax, dword [rbp + 0x2280]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rbp - 0x78]
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.140019544
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x140019a67
cmp dword [rbp + 0x2280], edx
je 0x140019c76
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1400193bc
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140019c76
jmp 0x140019a84
xor edx, edx
mov eax, dword [rsp + 0x78]
mov dword [rbp + 0x2280], eax
cmp esi, 2
je 0x140019bfe
test esi, esi
je 0x140019aa8
test eax, eax
je 0x140019c69
jmp 0x140019bfe
test eax, eax
je 0x140019b4d
mov dword [rbp - 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, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x140019b4d
mov eax, edx
cmp dword [rbp - 0x60], edx
seta al
test eax, eax
je 0x140019b4d
lea rsi, [0x1400477d0]
mov rdx, qword [rsi]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
je 0x140019bfe
add rsi, 8
lea rax, str.RegOpenKeyTransactedW
cmp rsi, rax
jl 0x140019b0a
cmp dword [rsp + 0x68], edx
je 0x140019bfe
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x78]
call fcn.140019198
jmp 0x140019bfe
mov dword [rbp - 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, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov esi, edx
test eax, eax
jne 0x140019b9d
cmp dword [rbp - 0x60], edx
seta sil
mov eax, edx
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140019bb4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rbp - 0x78], rdx
mov dword [rbp - 0x70], edx
test eax, eax
jne 0x140019c6d
cmp dword [rsp + 0x68], edx
je 0x140019bfe
test esi, esi
jne 0x140019bfe
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], edx
mov qword [rbp - 0x18], rdx
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x28]
call fcn.1400192b0
xor esi, esi
mov qword [rbp - 0x28], rsi
test eax, eax
jne 0x140019c6d
cmp word [rdi], 0x7d
je 0x140019c76
mov rsi, qword [rbp - 0x78]
jmp 0x1400195cd
mov ecx, eax
call fcn.1400193ac
mov ebx, eax
test rsi, rsi
je 0x140019c76
mov rcx, rsi
jmp 0x140019c32
mov ecx, eax
call fcn.1400193ac
mov ebx, eax
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140019c76
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140019c76
mov ebx, 0x80020009
jmp 0x140019c7a
mov ebx, 0x80020009
jmp 0x140019c76
mov ecx, 0x80004005
call fcn.14001a5a4
int3
mov ecx, 0x80070057
call fcn.14001a5a4
int3
mov ecx, 0x8007000e
call fcn.14001a5a4
int3
mov ecx, esi
jmp 0x140019c6f
mov ecx, eax
call fcn.1400193ac
mov ebx, eax
mov rsi, qword [rbp - 0x78]
test rsi, rsi
je 0x140019c88
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x2220]
xor rcx, rsp
call fcn.140021770
add rsp, 0x2338
pop rdi
pop rsi
pop rbx
pop rbp
ret