Function at 0x1400ecee0
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 0x1400ecf56
lea ecx, [rbx + 0x10]
call fcn.1402bcb4c
mov rsi, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x1400ecf56
mov rax, qword [rbp - 0x19]
lea rcx, vtable.Core::Win32::RegistryKey.0
mov qword [rsi], rcx
mov qword [rsi + 8], rax
jmp 0x1400ecf5d
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 0x1400ecf9f
mov ecx, 4
call fcn.1402bcb4c
mov rdi, rax
test rax, rax
je 0x1400ecf92
mov dword [rax], ebx
mov qword [rbp + 0x2f], rax
jmp 0x1400ecf99
mov rdi, rbx
mov qword [rbp + 0x2f], rbx
mov dword [rdi], 1
test rsi, rsi
jne 0x1400ecfab
xor bl, bl
jmp 0x1400ed0dc
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.1400ed120
test al, al
jne 0x1400ecfd4
xor bl, bl
jmp 0x1400ed0a9
mov esi, ebx
mov ecx, dword [rbp + 0xf]
test ecx, ecx
jle 0x1400ed084
mov rax, qword [rbp + 0x17]
add rax, 0xc
mov qword [rbp + 0x7f], rax
lea rdx, [0x14034d1a0]
mov qword [rbp - 9], rdx
mov qword [rbp - 1], rbx
cmp esi, ecx
jge 0x1400ed074
mov edx, dword [rax]
lea rcx, [rbp - 9]
call fcn.1402028a0
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.1402c06dc
mov rax, qword [rbp + 0x7f]
mov edx, dword [rax]
lea rcx, [rbp - 9]
call fcn.140203bb0
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp + 0x77]
call fcn.1400ecee0
test al, al
je 0x1400ed06d
cmp dword [rbp - 1], 0
jle 0x1400ed056
mov rcx, qword [rbp - 9]
call fcn.1402bd0e0
inc esi
mov rax, qword [rbp + 0x7f]
add rax, 0x10
mov qword [rbp + 0x7f], rax
mov ecx, dword [rbp + 0xf]
cmp esi, ecx
jge 0x1400ed084
jmp 0x1400ecfed
mov ebx, dword [rbp - 1]
mov rdx, qword [rbp - 9]
test ebx, ebx
jle 0x1400ed080
mov rcx, rdx
call fcn.1402bd0e0
xor bl, bl
jmp 0x1400ed0a5
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 0x1400ed0dc
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402bda84
mov rcx, rbx
call fcn.1402bcebc
movzx ebx, byte [rbp + 0x67]
test rdi, rdi
je 0x1400ed10b
mov eax, dword [rdi]
test eax, eax
jle 0x1400ed0eb
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x1400ed10b
test rsi, rsi
je 0x1400ed103
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r8]
mov rcx, rdi
call fcn.14021ae20
movzx eax, bl
add rsp, 0x88
pop rdi
pop rsi
pop rbx
pop rbp
ret