Function at 0x140076810
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x180], rax
and dword [rsp + 0x68], 0
mov ebx, ecx
mov rcx, qword [str.___t_]
lea r12, str.___t_
lea r13, [0x140005908]
mov r14b, 2
cmp rcx, r12
je 0x140076883
test byte [rcx + 0x1c], r14b
je 0x140076883
cmp byte [rcx + 0x19], 5
jb 0x140076883
mov rcx, qword [rcx + 0x10]
mov edx, 0x12
mov r8, r13
call fcn.14000e618
lea r9, [0x1400057d8]
lea r8, [0x140005818]
lea rcx, [rsp + 0x70]
mov edx, 0x104
mov dword [rsp + 0x20], ebx
call fcn.14001000c
mov ebx, eax
test eax, eax
jns 0x1400768f1
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400768d6
test byte [rcx + 0x1c], r14b
je 0x1400768d6
cmp byte [rcx + 0x19], r14b
jb 0x1400768d6
mov rcx, qword [rcx + 0x10]
mov edx, 0x13
mov r9d, eax
mov r8, r13
call fcn.14000e63c
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
mov eax, ebx
jmp 0x140076b51
lea rdx, [rsp + 0x70]
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.140075c60
mov rsi, rax
test rax, rax
jne 0x140076957
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140076b4f
test byte [rcx + 0x1c], r14b
je 0x140076b4f
mov bl, 3
cmp byte [rcx + 0x19], bl
jb 0x140076b4f
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x14]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
jmp 0x140076b4f
lea rdx, [0x140005830]
mov rcx, rax
call fcn.1400764a4
mov bl, 3
test eax, eax
jne 0x140076992
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140076992
test byte [rcx + 0x1c], r14b
je 0x140076992
cmp byte [rcx + 0x19], bl
jb 0x140076992
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x15]
mov r8, r13
call fcn.14000e618
lea rdx, [0x140005880]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400769ce
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400769ce
test byte [rcx + 0x1c], r14b
je 0x1400769ce
cmp byte [rcx + 0x19], bl
jb 0x1400769ce
mov rcx, qword [rcx + 0x10]
mov edx, 0x16
mov r8, r13
call fcn.14000e618
and qword [rsp + 0x58], 0
and qword [rsp + 0x50], 0
and dword [rsp + 0x64], 0
and dword [rsp + 0x60], 0
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x64]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test eax, eax
je 0x140076a58
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140076b46
test byte [rcx + 0x1c], r14b
je 0x140076b46
cmp byte [rcx + 0x19], bl
jb 0x140076b46
mov edx, 0x17
jmp 0x140076b3a
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x64], 0
jne 0x140076b4f
cmp dword [rsp + 0x60], 0
jne 0x140076b4f
lea rdx, [0x1400057d8]
mov r9d, 0x30006
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.140075c60
mov rsi, rax
test rax, rax
jne 0x140076ade
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400768ea
test byte [rcx + 0x1c], r14b
je 0x1400768ea
cmp byte [rcx + 0x19], r14b
jb 0x1400768ea
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x18]
mov r9d, eax
mov r8, r13
call fcn.14000e63c
jmp 0x1400768ea
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140076b0a
test byte [rcx + 0x1c], r14b
je 0x140076b0a
cmp byte [rcx + 0x19], bl
jb 0x140076b0a
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x52]
mov edx, 0x19
mov r8, r13
call fcn.14000e868
lea rdx, [rbp - 0x52]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
test eax, eax
je 0x140076b46
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140076b46
test byte [rcx + 0x1c], r14b
je 0x140076b46
cmp byte [rcx + 0x19], r14b
jb 0x140076b46
mov edx, 0x1a
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.14000e618
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140088640
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret