Function at 0x14008542c
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 8], 0
and qword [rbp - 0x10], 0
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov r15, rcx
mov rcx, qword [str.___t_]
lea rax, str.___t_
mov r12d, 2
cmp rcx, rax
je 0x14008549b
test byte [rcx + 0x1c], r12b
je 0x14008549b
cmp byte [rcx + 0x19], 5
jb 0x14008549b
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x67]
lea r8, [0x140006a58]
call fcn.14000e618
lea rax, [rbp - 8]
lea rdx, [0x140006970]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x1400854ff
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14008584e
test byte [rcx + 0x1c], r12b
je 0x14008584e
cmp byte [rcx + 0x19], r12b
jb 0x14008584e
mov edx, 0x6a
mov r9d, ebx
jmp 0x14008583e
and qword [rsp + 0x40], 0
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov dword [rsp + 0x28], 0x2000000
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
je 0x140085586
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x140085774
test byte [rcx + 0x1c], r12b
je 0x140085774
cmp byte [rcx + 0x19], r12b
jb 0x140085774
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov edx, 0x6b
mov r9, rdi
mov dword [rsp + 0x20], eax
call fcn.14000e8e4
jmp 0x140085774
mov rcx, qword [rbp - 0x10]
lea r8, [0x140006460]
mov r9, rdi
mov edx, 1
call fcn.140076274
test eax, eax
jne 0x1400855df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x140085774
test byte [rcx + 0x1c], r12b
je 0x140085774
cmp byte [rcx + 0x19], r12b
jb 0x140085774
mov edx, 0x6c
jmp 0x140085728
mov rcx, qword [rbp - 0x10]
lea r8, [0x140006428]
mov r9, rsi
mov edx, r12d
call fcn.140076274
test eax, eax
jne 0x140085636
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x140085774
test byte [rcx + 0x1c], r12b
je 0x140085774
cmp byte [rcx + 0x19], r12b
jb 0x140085774
mov edx, 0x6d
jmp 0x140085728
mov rcx, qword [rbp - 0x10]
mov esi, 1
lea r8, [0x140006440]
mov edx, esi
mov r9, r14
call fcn.140076274
test eax, eax
jne 0x140085691
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x140085774
test byte [rcx + 0x1c], r12b
je 0x140085774
cmp byte [rcx + 0x19], r12b
jb 0x140085774
mov edx, 0x6e
jmp 0x140085728
mov rcx, qword [rbp - 0x10]
lea r8, [0x140006480]
mov r9, r15
mov edx, esi
call fcn.140076274
test eax, eax
jne 0x1400856e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x140085774
test byte [rcx + 0x1c], r12b
je 0x140085774
cmp byte [rcx + 0x19], r12b
jb 0x140085774
mov edx, 0x6f
jmp 0x140085728
mov r8d, dword [rbp + 0x40]
mov rcx, qword [rbp - 0x10]
lea rdx, [0x140006410]
call fcn.1400761b0
test eax, eax
jne 0x14008573d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x140085774
test byte [rcx + 0x1c], r12b
je 0x140085774
cmp byte [rcx + 0x19], r12b
jb 0x140085774
mov edx, 0x70
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov r9d, eax
call fcn.14000e63c
jmp 0x140085774
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x1400857c8
test byte [rcx + 0x1c], r12b
je 0x1400857c8
cmp byte [rcx + 0x19], 5
jb 0x1400857c8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov edx, 0x71
mov r9, rdi
call fcn.14000e868
test ebx, ebx
je 0x1400857c8
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14008580b
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x1400857c8
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400857c8
test byte [rcx + 0x1c], r12b
je 0x1400857c8
cmp byte [rcx + 0x19], r12b
jb 0x1400857c8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov edx, 0x72
mov r9d, eax
call fcn.14000e63c
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14008580b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14008580b
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x14008580b
test byte [rcx + 0x1c], r12b
je 0x14008580b
cmp byte [rcx + 0x19], r12b
jb 0x14008580b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov edx, 0x73
mov r9d, eax
call fcn.14000e63c
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14008584e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14008584e
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x14008584e
test byte [rcx + 0x1c], r12b
je 0x14008584e
cmp byte [rcx + 0x19], r12b
jb 0x14008584e
mov edx, 0x74
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
call fcn.14000e63c
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret