Function at 0x1400eb970
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x88
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov rax, rdx
xor ebx, ebx
mov qword [rbp - 0x19], rbx
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rdx
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400eb9e6
lea ecx, [rbx + 0x10]
call fcn.1402b968c
mov rsi, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x1400eb9e6
mov rax, qword [rbp - 0x19]
lea rcx, vtable.Core::Win32::RegistryKey.0
mov qword [rsi], rcx
mov qword [rsi + 8], rax
jmp 0x1400eb9ed
mov qword [rbp + 0x77], rbx
mov rsi, rbx
lea rax, vtable.Core::SharedPtr_class_Core::Win32::RegistryKey_.0
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rsi
mov rdi, rbx
mov qword [rbp + 0x2f], rbx
test rsi, rsi
je 0x1400eba2f
mov ecx, 4
call fcn.1402b968c
mov rdi, rax
test rax, rax
je 0x1400eba22
mov dword [rax], ebx
mov qword [rbp + 0x2f], rax
jmp 0x1400eba29
mov rdi, rbx
mov qword [rbp + 0x2f], rbx
mov dword [rdi], 1
test rsi, rsi
jne 0x1400eba3b
xor bl, bl
jmp 0x1400ebb6c
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rbp + 7], rax
mov dword [rbp + 0xf], ebx
mov qword [rbp + 0x17], rbx
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.1400ebbb0
test al, al
jne 0x1400eba64
xor bl, bl
jmp 0x1400ebb39
mov esi, ebx
mov ecx, dword [rbp + 0xf]
test ecx, ecx
jle 0x1400ebb14
mov rax, qword [rbp + 0x17]
add rax, 0xc
mov qword [rbp + 0x7f], rax
lea rdx, [0x140348ca0]
mov qword [rbp - 9], rdx
mov qword [rbp - 1], rbx
cmp esi, ecx
jge 0x1400ebb04
mov edx, dword [rax]
lea rcx, [rbp - 9]
call fcn.1401ff260
mov rcx, qword [rbp + 0x7f]
movsxd r9, dword [rcx]
mov eax, dword [rbp - 1]
inc eax
movsxd rdx, eax
mov r8, qword [rcx - 0xc]
mov rcx, qword [rbp - 9]
call fcn.1402bd21c
mov rax, qword [rbp + 0x7f]
mov edx, dword [rax]
lea rcx, [rbp - 9]
call fcn.140200570
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp + 0x77]
call fcn.1400eb970
test al, al
je 0x1400ebafd
cmp dword [rbp - 1], 0
jle 0x1400ebae6
mov rcx, qword [rbp - 9]
call fcn.1402b9c20
inc esi
mov rax, qword [rbp + 0x7f]
add rax, 0x10
mov qword [rbp + 0x7f], rax
mov ecx, dword [rbp + 0xf]
cmp esi, ecx
jge 0x1400ebb14
jmp 0x1400eba7d
mov ebx, dword [rbp - 1]
mov rdx, qword [rbp - 9]
test ebx, ebx
jle 0x1400ebb10
mov rcx, rdx
call fcn.1402b9c20
xor bl, bl
jmp 0x1400ebb35
mov rdx, qword [rbp + 0x6f]
mov rcx, qword [rbp + 0x67]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
sete bl
mov rsi, qword [rbp + 0x77]
mov byte [rbp + 0x67], bl
mov rax, qword [rbp + 0x17]
test rax, rax
je 0x1400ebb6c
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402ba5c4
mov rcx, rbx
call fcn.1402b99fc
movzx ebx, byte [rbp + 0x67]
test rdi, rdi
je 0x1400ebb9b
mov eax, dword [rdi]
test eax, eax
jle 0x1400ebb7b
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x1400ebb9b
test rsi, rsi
je 0x1400ebb93
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r8]
mov rcx, rdi
call fcn.1402177e0
movzx eax, bl
add rsp, 0x88
pop rdi
pop rsi
pop rbx
pop rbp
ret