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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x290
mov rax, qword [0x14009e140]
xor rax, rsp
mov qword [rsp + 0x280], rax
and dword [rsp + 0x68], 0
mov ebx, ecx
mov rcx, qword [str.P5_n_]
lea r12, str.P5_n_
lea r14, [0x140008df8]
mov bpl, 2
cmp rcx, r12
je 0x14007b8a6
test byte [rcx + 0x1c], bpl
je 0x14007b8a6
cmp byte [rcx + 0x19], 5
jb 0x14007b8a6
mov rcx, qword [rcx + 0x10]
mov edx, 0x12
mov r8, r14
call fcn.14000ffa8
lea r9, [0x14000d478]
lea r8, [0x14000d4b8]
lea rcx, [rsp + 0x70]
mov edx, 0x104
mov dword [rsp + 0x20], ebx
call fcn.1400118ac
mov ebx, eax
test eax, eax
jns 0x14007b914
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x14007b8f9
test byte [rcx + 0x1c], bpl
je 0x14007b8f9
cmp byte [rcx + 0x19], bpl
jb 0x14007b8f9
mov rcx, qword [rcx + 0x10]
mov edx, 0x13
mov r9d, eax
mov r8, r14
call fcn.1400100e0
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
mov eax, ebx
jmp 0x14007bb7c
lea rdx, [rsp + 0x70]
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.14007ac98
mov rsi, rax
test rax, rax
jne 0x14007b97a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x14007bb7a
test byte [rcx + 0x1c], bpl
je 0x14007bb7a
mov bl, 3
cmp byte [rcx + 0x19], bl
jb 0x14007bb7a
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x14]
mov r9d, eax
mov r8, r14
call fcn.1400100e0
jmp 0x14007bb7a
lea rdx, [0x14000d4d0]
mov rcx, rax
call fcn.14007b4cc
mov bl, 3
test eax, eax
jne 0x14007b9b5
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x14007b9b5
test byte [rcx + 0x1c], bpl
je 0x14007b9b5
cmp byte [rcx + 0x19], bl
jb 0x14007b9b5
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x15]
mov r8, r14
call fcn.14000ffa8
lea rdx, [0x14000d520]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x14007b9f1
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x14007b9f1
test byte [rcx + 0x1c], bpl
je 0x14007b9f1
cmp byte [rcx + 0x19], bl
jb 0x14007b9f1
mov rcx, qword [rcx + 0x10]
mov edx, 0x16
mov r8, r14
call fcn.14000ffa8
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 0x14007ba7b
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x14007bb71
test byte [rcx + 0x1c], bpl
je 0x14007bb71
cmp byte [rcx + 0x19], bl
jb 0x14007bb71
mov edx, 0x17
jmp 0x14007bb65
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x64], 0
jne 0x14007bb7a
cmp dword [rsp + 0x60], 0
jne 0x14007bb7a
lea rdx, [0x14000d478]
mov r9d, 0x30006
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.14007ac98
mov rsi, rax
test rax, rax
jne 0x14007bb01
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x14007b90d
test byte [rcx + 0x1c], bpl
je 0x14007b90d
cmp byte [rcx + 0x19], bpl
jb 0x14007b90d
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x18]
mov r9d, eax
mov r8, r14
call fcn.1400100e0
jmp 0x14007b90d
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x14007bb31
test byte [rcx + 0x1c], bpl
je 0x14007bb31
cmp byte [rcx + 0x19], bl
jb 0x14007bb31
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0xae]
mov edx, 0x19
mov r8, r14
call fcn.14001011c
lea rdx, [rsp + 0xae]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
test eax, eax
je 0x14007bb71
mov rcx, qword [str.P5_n_]
cmp rcx, r12
je 0x14007bb71
test byte [rcx + 0x1c], bpl
je 0x14007bb71
cmp byte [rcx + 0x19], bpl
jb 0x14007bb71
mov edx, 0x1a
mov rcx, qword [rcx + 0x10]
mov r8, r14
call fcn.14000ffa8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14008c5b0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret