Function at 0x14005e8b0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400b04c8]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov dword [rsp + 0x28], ecx
xor ebx, ebx
mov byte [rbp - 0xb], bl
mov qword [rbp + 8], rbx
lea eax, [rbx + 7]
mov qword [rbp + 0x10], rax
mov word [rbp - 8], bx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rax
mov word [rbp + 0x18], bx
mov byte [rsp + 0x20], bl
lea r9, [rsp + 0x20]
lea r8, [rbp - 0x10]
mov edx, ecx
mov cl, 1
call fcn.14005ec84
mov rdi, rax
shr rax, 0x27
not eax
test al, 1
jne 0x14005ec3e
cmp byte [rsp + 0x20], bl
jne 0x14005eaa8
movdqa xmm0, xmmword [0x1400960e0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.Failed_to_modify_the_server_entry___1___since_it_is_controlled_by_Group_Policy.
lea rcx, [rbp - 0x80]
call fcn.1400038e4
nop
movdqa xmm0, xmmword [0x1400960e0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
lea rdx, str.Publishing
lea rcx, [rsp + 0x60]
call fcn.1400038e4
nop
call fcn.14000d13c
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x40]
call fcn.14003c3d8
mov r14, rax
mov r8d, 0x8b
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::RemoveServer
lea rcx, [rbp + 0x50]
call fcn.14003c410
mov r15, rax
mov r8d, dword [r14 + 8]
lea ecx, [r8 + 1]
mov dword [r14 + 8], ecx
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.14003cfd8
nop
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x14005e9f1
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400609b0
nop
test rsi, rsi
je 0x14005ea0e
mov rdi, qword [rsi]
mov edx, 0x20
mov rcx, rsi
call fcn.140064f38
mov rsi, rdi
test rdi, rdi
jne 0x14005e9f6
mov r9, r14
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, r15
call fcn.14003c6e8
nop
lea rcx, [rbp + 0x50]
call fcn.1400068e4
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x30]
call fcn.140003844
nop
lea rcx, [rsp + 0x60]
call fcn.140003844
nop
lea rcx, [rbp - 0x80]
call fcn.140003844
mov edx, 0x5c
lea rcx, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14005ea79
inc rax
jmp 0x14005ea80
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400b1890]
call fcn.140015404
mov rdi, rax
shl rdi, 0x34
movabs rax, 0x110700000701
or rdi, rax
jmp 0x14005ec3e
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140060914
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
test eax, 0xfffffffc
jne 0x14005eaf9
cmp eax, 1
je 0x14005eaf9
movabs rdi, 0x8000000000
jmp 0x14005ec34
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rax, qword [rbp - 0x60]
mov qword [rsp + 0x38], rax
movdqa xmm0, xmmword [0x1400960e0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
lea rdx, str.Couldnt_delete_registry_tree._n_winerr___1__n_sub_key:__2_
lea rcx, [rsp + 0x60]
call fcn.1400038e4
nop
movdqa xmm0, xmmword [0x1400960e0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
lea rdx, str.Publishing
lea rcx, [rbp - 0x80]
call fcn.1400038e4
nop
call fcn.14000d13c
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x40]
call fcn.14003c3d8
mov rdi, rax
mov r8d, 0x98
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::RemoveServer
lea rcx, [rbp + 0x50]
call fcn.14003c410
mov rsi, rax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000ef38
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.1400145a4
mov r9, rax
lea r8, [rbp - 0x80]
mov edx, 1
mov rcx, rsi
call fcn.14003c6e8
nop
lea rcx, [rbp + 0x50]
call fcn.1400068e4
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x30]
call fcn.140003844
nop
lea rcx, [rbp - 0x80]
call fcn.140003844
nop
lea rcx, [rsp + 0x60]
call fcn.140003844
mov edx, 0x5c
lea rcx, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14005ec06
inc rax
jmp 0x14005ec0d
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400b1890]
call fcn.140015404
shl rax, 0x34
mov edi, dword [rsp + 0x30]
or rdi, rax
movabs rax, 0x132700000000
or rdi, rax
lea rcx, [rbp - 0x60]
call fcn.140003844
nop
lea rcx, [rbp + 0x18]
call fcn.140003844
lea rcx, [rbp - 8]
call fcn.140003844
mov rax, rdi
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140064c10
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret