Function at 0x140030154
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0xcc0
call fcn.14024eae0
sub rsp, rax
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rsp + 0xcb0], rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xc0], rdi
lea esi, [rdi + 7]
mov qword [rsp + 0xc8], rsi
mov word [rsp + 0xb0], di
lea rdx, str.SoftwareMicrosoftOfficeC2RSvcMgrTasks
lea rcx, [rsp + 0xb0]
call fcn.14000ae4c
nop
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x50], di
mov dword [rsp + 0x40], 1
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0xb0]
call fcn.140009bf4
nop
mov rax, qword [rsp + 0xc8]
mov ebx, 0x1000
cmp rax, 8
jb 0x14003023a
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rdx, rcx
cmp rax, rbx
jb 0x140030234
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140030234
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], rsi
mov word [rsp + 0xb0], di
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140030413
cmp rax, 0xff
ja 0x140030434
lea rax, vtable.RefCounted.0
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], edi
lea rsi, vtable.ORegistryKey.0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x80], rdi
movdqa xmm0, xmmword [0x14031bbe0]
movdqa xmmword [rsp + 0x90], xmm0
mov word [rsp + 0x80], di
mov qword [rsp + 0xa0], rdi
mov byte [rsp + 0xa8], 1
mov dword [rsp + 0xac], 0x85
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [0x14037e490]
call fcn.140010c58
test al, al
jne 0x140030378
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
mov qword [rsp + 0x70], rsi
je 0x140030313
cmp byte [rsp + 0xa8], dil
je 0x140030313
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0xa0], rdi
lea rax, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
mov qword [rsp + 0x90], rdi
cmovae rax, qword [rsp + 0x80]
mov word [rax], di
mov rax, qword [rsp + 0x98]
cmp rax, 8
jb 0x140030376
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x80]
cmp rax, rbx
mov rdx, rcx
jb 0x14003036f
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x1400303a3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
jmp 0x1400303af
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov rcx, qword [0x14037e4c0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
jne 0x14003045b
jmp 0x1400302e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ebx, 0x1000
mov rax, qword [rsp + 0x68]
cmp rax, 8
jb 0x1400303ee
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rbx
jb 0x1400303e7
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400303e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rsp + 0xcb0]
xor rcx, rsp
call fcn.14024c6d0
lea r11, [rsp + 0xcc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0x200]
call fcn.140190dac
lea rdx, [0x140325060]
lea rcx, [rsp + 0x200]
call sub.VCRUNTIME140.dll__CxxThrowException
lea r9, [rsp + 0x50]
lea rcx, [rsp + 0x590]
call fcn.140190e4c
lea rdx, [0x140325060]
lea rcx, [rsp + 0x590]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [0x14037e4a0]
mov qword [rsp + 0x20], rcx
mov r8d, eax
lea rcx, [rsp + 0x920]
call fcn.140190f14
lea rdx, [0x140325060]
lea rcx, [rsp + 0x920]
call sub.VCRUNTIME140.dll__CxxThrowException
int3