Function at 0x14000ed9c
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x21e8]
mov eax, 0x22e8
call fcn.140036790
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x14005f650]
xor rax, rsp
mov qword [rbp + 0x21d0], rax
mov dword [rsp + 0x70], r9d
mov qword [rbp - 0x70], r8
mov rdi, rdx
mov rax, rcx
mov qword [rsp + 0x60], rcx
xor ecx, ecx
mov esi, ecx
mov qword [rsp + 0x78], rcx
mov dword [rbp - 0x80], ecx
mov qword [rbp - 0x78], rcx
mov ecx, dword [rbp + 0x2230]
mov dword [rbp - 0x4c], ecx
mov rcx, rax
call fcn.14000ec14
mov ebx, eax
test eax, eax
js 0x14000f513
cmp word [rdi], 0x7d
je 0x14000f50e
mov eax, 1
mov dword [rsp + 0x74], 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 [rsp + 0x68], ebx
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000ee5a
test ebx, ebx
je 0x14000ef31
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000ec14
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000f50e
cmp dword [rsp + 0x70], edx
je 0x14000ef31
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x14000eea2
cmp ax, 0x5c
je 0x14000eea9
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000ee90
jmp 0x14000eeb2
test rcx, rcx
jne 0x14000f4d2
lea rbx, [0x140051260]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
je 0x14000eef8
add rbx, 8
lea rax, str.RegOpenKeyTransactedW
cmp rbx, rax
jl 0x14000eeb9
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], ecx
mov qword [rbp - 0x58], rcx
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14000e9d8
xor ecx, ecx
cmp dword [rsp + 0x68], ecx
je 0x14000ef31
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000ec14
mov ebx, eax
test eax, eax
js 0x14000f50e
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000e850
mov ebx, eax
test ebx, ebx
js 0x14000f50e
jmp 0x14000f1bf
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
jne 0x14000ef62
mov dword [rsp + 0x74], ecx
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000ec14
mov ebx, eax
test eax, eax
js 0x14000f50e
lea rdx, [0x140051130]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x14000f06e
lea rdx, [rbp + 0x1d0]
mov rcx, qword [rsp + 0x60]
call fcn.14000ec14
mov ebx, eax
test eax, eax
js 0x14000f50e
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000ec14
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000f50e
cmp word [rdi], 0x3d
jne 0x14000f4d2
cmp dword [rsp + 0x70], edx
je 0x14000efee
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov r9, rdi
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14000e3a4
mov ebx, eax
jmp 0x14000ef24
cmp dword [rbp + 0x2230], edx
jne 0x14000f052
cmp dword [rsp + 0x74], edx
je 0x14000f052
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x68]
call fcn.14000e8f4
test eax, eax
jne 0x14000f4b8
lea rdx, [rbp + 0x1d0]
mov rsi, qword [rbp - 0x68]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14000f4a5
test rsi, rsi
je 0x14000f052
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000e850
mov ebx, eax
test eax, eax
js 0x14000f50e
jmp 0x14000f495
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x14000f08a
cmp ax, 0x5c
je 0x14000f091
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x14000f076
jmp 0x14000f09a
test rcx, rcx
jne 0x14000f4d9
cmp dword [rsp + 0x70], edx
je 0x14000f217
mov r9d, 0x2001f
mov r8, rdi
mov rbx, qword [rbp - 0x70]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14000e8f4
xor esi, esi
test eax, eax
je 0x14000f179
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14000e8f4
test eax, eax
je 0x14000f179
mov qword [rsp + 0x68], rsi
mov rcx, qword [rbp - 0x78]
lea rax, [rbp - 0x50]
test rcx, rcx
je 0x14000f114
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov r8, rdi
mov rdx, rbx
call fcn.14000e18c
jmp 0x14000f146
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000f505
mov eax, esi
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000f160
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x78], rsi
xor ecx, ecx
mov dword [rbp - 0x80], ecx
test eax, eax
jne 0x14000f505
jmp 0x14000f17e
mov rsi, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000ec14
mov ebx, eax
test eax, eax
js 0x14000f50e
cmp word [rdi], 0x3d
jne 0x14000f1bf
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.14000e3a4
mov ebx, eax
test eax, eax
js 0x14000f50e
mov rsi, qword [rsp + 0x78]
cmp word [rdi], 0x7b
jne 0x14000f495
mov rcx, rdi
call fcn.1400285ac
mov ecx, 1
cmp rax, rcx
jne 0x14000f495
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x70]
mov r8, rsi
mov rdx, rdi
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call fcn.14000ed9c
mov ebx, eax
test eax, eax
js 0x14000f50e
mov rdx, rdi
mov rcx, rsi
call fcn.14000ec14
jmp 0x14000f05f
mov ebx, dword [rbp + 0x2230]
test ebx, ebx
jne 0x14000f23c
mov r9d, 0x20019
mov r8, rdi
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.14000e8f4
mov esi, eax
jmp 0x14000f241
mov esi, 2
test esi, esi
mov eax, 1
cmovne ebx, eax
mov dword [rbp + 0x2230], ebx
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.140028c80
test eax, eax
je 0x14000f28e
cmp eax, 0xc
je 0x14000f4f6
cmp eax, 0x16
je 0x14000f4eb
cmp eax, 0x22
je 0x14000f4eb
cmp eax, 0x50
jne 0x14000f4e0
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000ec14
mov ebx, eax
test eax, eax
js 0x14000f50e
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000e850
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000f50e
cmp word [rdi], 0x7b
jne 0x14000f326
mov rcx, rdi
call fcn.1400285ac
mov ecx, 1
cmp rax, rcx
jne 0x14000f324
mov eax, dword [rbp + 0x2230]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000ed9c
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x14000f309
cmp dword [rbp + 0x2230], edx
je 0x14000f50e
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call fcn.14000ec14
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000f50e
jmp 0x14000f326
xor edx, edx
mov eax, dword [rbp - 0x4c]
mov dword [rbp + 0x2230], eax
cmp esi, 2
je 0x14000f495
test esi, esi
je 0x14000f349
test eax, eax
je 0x14000f501
jmp 0x14000f495
test eax, eax
je 0x14000f3f3
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, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x14000f3f3
mov eax, edx
cmp dword [rsp + 0x68], edx
seta al
test eax, eax
je 0x14000f3f3
lea rsi, [0x140051260]
mov rdx, qword [rsi]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
je 0x14000f495
add rsi, 8
lea rax, str.RegOpenKeyTransactedW
cmp rsi, rax
jl 0x14000f3af
cmp dword [rsp + 0x74], edx
je 0x14000f495
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.14000e9d8
jmp 0x14000f495
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, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov esi, edx
test eax, eax
jne 0x14000f447
cmp dword [rsp + 0x68], edx
seta sil
mov eax, edx
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000f460
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rsp + 0x78], rdx
mov dword [rbp - 0x80], edx
test eax, eax
jne 0x14000f505
cmp dword [rsp + 0x74], edx
je 0x14000f495
test esi, esi
jne 0x14000f495
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.14000eb08
test eax, eax
jne 0x14000f505
cmp word [rdi], 0x7d
je 0x14000f50e
mov rsi, qword [rsp + 0x78]
jmp 0x14000ee18
mov ecx, eax
call fcn.14000ec04
mov ebx, eax
test rsi, rsi
je 0x14000f50e
mov rcx, rsi
jmp 0x14000f4ca
mov ecx, eax
call fcn.14000ec04
mov ebx, eax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000f50e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000f50e
mov ebx, 0x80020009
jmp 0x14000f513
mov ebx, 0x80020009
jmp 0x14000f50e
mov ecx, 0x80004005
call fcn.14000e834
int3
mov ecx, 0x80070057
call fcn.14000e834
int3
mov ecx, 0x8007000e
call fcn.14000e834
int3
mov ecx, esi
jmp 0x14000f507
mov ecx, eax
call fcn.14000ec04
mov ebx, eax
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x14000f521
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21d0]
xor rcx, rsp
call fcn.140027b60
add rsp, 0x22e8
pop rdi
pop rsi
pop rbx
pop rbp
ret