Function at 0x14005e9f8
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov rax, qword [0x1400b02e8]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov dword [rsp + 0x28], ecx
xor r14d, r14d
mov byte [rbp - 0xb], r14b
mov qword [rbp + 8], r14
lea r15d, [r14 + 7]
mov qword [rbp + 0x10], r15
mov word [rbp - 8], r14w
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], r15
mov word [rbp + 0x18], r14w
mov byte [rsp + 0x20], r14b
lea r9, [rsp + 0x20]
lea r8, [rbp - 0x10]
mov edx, ecx
mov cl, 1
call fcn.14005ee64
mov rbx, rax
shr rax, 0x27
not eax
test al, 1
jne 0x14005ee24
cmp byte [rsp + 0x20], r14b
jne 0x14005ec35
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::RemoveServer
lea rcx, [rbp - 0x40]
call fcn.14003c848
mov dword [rbp - 0x20], 0x8b
call fcn.14000a8e4
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r15
mov word [rbp - 0x80], r14w
lea rdx, str.Failed_to_modify_the_server_entry___1___since_it_is_controlled_by_Group_Policy.
lea rcx, [rbp - 0x80]
call fcn.140003b34
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x50]
call fcn.14003c478
mov rsi, rax
mov r8d, dword [rax + 8]
lea ecx, [r8 + 1]
mov dword [rax + 8], ecx
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14003d198
nop
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x14005eb19
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea r9, [rsp + 0x40]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400612bc
nop
test rdi, rdi
je 0x14005eb36
mov rbx, qword [rdi]
mov edx, 0x20
mov rcx, rdi
call fcn.140003d24
mov rdi, rbx
test rbx, rbx
jne 0x14005eb1e
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r15
mov word [rsp + 0x60], r14w
lea rdx, str.Publishing
lea rcx, [rsp + 0x60]
call fcn.140003b34
nop
mov r9, rsi
lea r8, [rsp + 0x60]
mov edx, 1
lea rcx, [rbp - 0x40]
call fcn.14003c72c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14005eb8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
call fcn.140003d24
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r15
mov word [rsp + 0x60], r14w
lea rcx, [rbp + 0x50]
call fcn.14003cd5c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14005ebc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
call fcn.140003d24
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r15
mov word [rbp - 0x80], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14005ebe4
inc rdx
mov rcx, qword [rbp - 0x40]
call fcn.140003d24
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, [0x1400b1690]
call fcn.140013934
mov rbx, rax
shl rbx, 0x34
movabs rax, 0x110700000701
or rbx, rax
jmp 0x14005ee24
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140061220
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 0x14005ec86
cmp eax, 1
je 0x14005ec86
movabs rbx, 0x8000000000
jmp 0x14005edfc
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::RemoveServer
lea rcx, [rbp - 0x40]
call fcn.14003c848
mov dword [rbp - 0x20], 0x98
call fcn.14000a8e4
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r15
mov word [rsp + 0x60], r14w
lea rdx, str.Couldnt_delete_registry_tree._n_winerr___1__n_sub_key:__2_
lea rcx, [rsp + 0x60]
call fcn.140003b34
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x50]
call fcn.14003c478
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000c28c
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1400126e0
mov rbx, rax
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r15
mov word [rbp - 0x80], r14w
lea rdx, str.Publishing
lea rcx, [rbp - 0x80]
call fcn.140003b34
nop
mov r9, rbx
lea r8, [rbp - 0x80]
mov edx, 1
lea rcx, [rbp - 0x40]
call fcn.14003c72c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14005ed52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
call fcn.140003d24
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r15
mov word [rbp - 0x80], r14w
lea rcx, [rbp + 0x50]
call fcn.14003cd5c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14005ed86
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
call fcn.140003d24
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r15
mov word [rsp + 0x60], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14005edac
inc rdx
mov rcx, qword [rbp - 0x40]
call fcn.140003d24
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 0x14005edce
inc rax
jmp 0x14005edd5
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x132700000000
or rbx, rax
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14005ee17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
call fcn.140003d24
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r15
mov word [rbp - 0x60], r14w
lea rcx, [rbp - 0x10]
call fcn.14002dc38
mov rax, rbx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140066420
lea r11, [rsp + 0x190]
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