Function at 0x1400ea6d0
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 0x1400ea746
lea ecx, [rbx + 0x10]
call fcn.1402b6dbc
mov rsi, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x1400ea746
mov rax, qword [rbp - 0x19]
lea rcx, vtable.Core::Win32::RegistryKey.0
mov qword [rsi], rcx
mov qword [rsi + 8], rax
jmp 0x1400ea74d
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 0x1400ea78f
mov ecx, 4
call fcn.1402b6dbc
mov rdi, rax
test rax, rax
je 0x1400ea782
mov dword [rax], ebx
mov qword [rbp + 0x2f], rax
jmp 0x1400ea789
mov rdi, rbx
mov qword [rbp + 0x2f], rbx
mov dword [rdi], 1
test rsi, rsi
jne 0x1400ea79b
xor bl, bl
jmp 0x1400ea8cc
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.1400ea910
test al, al
jne 0x1400ea7c4
xor bl, bl
jmp 0x1400ea899
mov esi, ebx
mov ecx, dword [rbp + 0xf]
test ecx, ecx
jle 0x1400ea874
mov rax, qword [rbp + 0x17]
add rax, 0xc
mov qword [rbp + 0x7f], rax
lea rdx, [0x140346ce0]
mov qword [rbp - 9], rdx
mov qword [rbp - 1], rbx
cmp esi, ecx
jge 0x1400ea864
mov edx, dword [rax]
lea rcx, [rbp - 9]
call fcn.1401fcb40
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.1402ba94c
mov rax, qword [rbp + 0x7f]
mov edx, dword [rax]
lea rcx, [rbp - 9]
call fcn.1401fde50
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp + 0x77]
call fcn.1400ea6d0
test al, al
je 0x1400ea85d
cmp dword [rbp - 1], 0
jle 0x1400ea846
mov rcx, qword [rbp - 9]
call fcn.1402b7350
inc esi
mov rax, qword [rbp + 0x7f]
add rax, 0x10
mov qword [rbp + 0x7f], rax
mov ecx, dword [rbp + 0xf]
cmp esi, ecx
jge 0x1400ea874
jmp 0x1400ea7dd
mov ebx, dword [rbp - 1]
mov rdx, qword [rbp - 9]
test ebx, ebx
jle 0x1400ea870
mov rcx, rdx
call fcn.1402b7350
xor bl, bl
jmp 0x1400ea895
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 0x1400ea8cc
lea rbx, [rax - 8]
lea r9, [fcn.140005eb0]
mov r8d, dword [rbx]
mov edx, 0x10
mov rcx, rax
call fcn.1402b7cf4
mov rcx, rbx
call fcn.1402b712c
movzx ebx, byte [rbp + 0x67]
test rdi, rdi
je 0x1400ea8fb
mov eax, dword [rdi]
test eax, eax
jle 0x1400ea8db
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x1400ea8fb
test rsi, rsi
je 0x1400ea8f3
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r8]
mov rcx, rdi
call fcn.1402150f0
movzx eax, bl
add rsp, 0x88
pop rdi
pop rsi
pop rbx
pop rbp
ret