Function at 0x14005cc20
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400ab2e8]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov r15, rcx
xor r12d, r12d
mov qword [rsp + 0x78], r12
movdqa xmm0, xmmword [0x140092210]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
movzx eax, byte [r9]
mov dword [rsp + 0x44], eax
mov rcx, qword [r8 + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rcx
cmp rax, 7
jb 0x14005d4e9
mov r9, rbx
cmp qword [r8 + 0x18], 8
jb 0x14005cc9f
mov r9, qword [r8]
mov qword [rsp + 0x30], 7
lea rax, str.Enabled
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.14001c404
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14001bcc0
lea rcx, [rsp + 0x58]
call fcn.140003cf8
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r8, qword [rsp + 0x78]
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005ce86
mov r8d, 0x175
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x18]
call fcn.14003a94c
mov rsi, rax
call fcn.14000aaa8
mov qword [rsp + 0x58], r12
movdqa xmm0, xmmword [0x140092210]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rsp + 0x58]
call fcn.140003d68
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x48]
call fcn.14003a914
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000c620
cmp qword [rdi + 0x18], 8
jb 0x14005cd8e
mov rdi, qword [rdi]
mov qword [rsp + 0x48], rdi
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400123a0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400123a0
mov rbx, rax
mov qword [rbp - 0x68], r12
movdqa xmm0, xmmword [0x140092210]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x68]
call fcn.140003d68
nop
mov r9, rbx
lea r8, [rbp - 0x68]
mov edx, 1
mov rcx, rsi
call fcn.14003aabc
nop
lea rcx, [rbp - 0x68]
call fcn.140003cf8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x38]
call fcn.140003cf8
nop
lea rcx, [rsp + 0x58]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x18]
call fcn.14000b438
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 0x14005ce56
inc rax
jmp 0x14005ce5d
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x2e2700000000
jmp 0x14005d4ae
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x44], eax
mov rcx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rcx
cmp rax, 0xc
jb 0x14005d4e9
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005ceb0
mov r9, qword [rbx]
mov qword [rsp + 0x30], SafeArrayGetDim
lea rax, str.LogonRefresh
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.14001c404
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14001bcc0
lea rcx, [rsp + 0x58]
call fcn.140003cf8
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r8, qword [rsp + 0x78]
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005d096
mov r8d, 0x184
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x18]
call fcn.14003a94c
mov rsi, rax
call fcn.14000aaa8
mov qword [rbp - 0x68], r12
movdqa xmm0, xmmword [0x140092210]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x68]
call fcn.140003d68
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x48]
call fcn.14003a914
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000c620
cmp qword [rdi + 0x18], 8
jb 0x14005cf99
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400123a0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400123a0
mov rbx, rax
mov qword [rsp + 0x58], r12
movdqa xmm0, xmmword [0x140092210]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x58]
call fcn.140003d68
nop
mov r9, rbx
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call fcn.14003aabc
nop
lea rcx, [rsp + 0x58]
call fcn.140003cf8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x38]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x68]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x18]
call fcn.14000b438
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 0x14005d066
inc rax
jmp 0x14005d06d
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x302700000000
jmp 0x14005d4ae
mov eax, dword [r14 + 4]
mov dword [rsp + 0x44], eax
mov rcx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rcx
cmp rax, 0x17
jb 0x14005d4e9
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005d0bf
mov r9, qword [rbx]
mov qword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea rax, str.PeriodicRefreshInterval
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.14001c404
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14001bcc0
lea rcx, [rsp + 0x58]
call fcn.140003cf8
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r8, qword [rsp + 0x78]
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005d2a6
mov r8d, 0x193
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x18]
call fcn.14003a94c
mov rsi, rax
call fcn.14000aaa8
mov qword [rbp - 0x68], r12
movdqa xmm0, xmmword [0x140092210]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x68]
call fcn.140003d68
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x48]
call fcn.14003a914
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000c620
cmp qword [rdi + 0x18], 8
jb 0x14005d1a9
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400123a0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400123a0
mov rbx, rax
mov qword [rsp + 0x58], r12
movdqa xmm0, xmmword [0x140092210]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x58]
call fcn.140003d68
nop
mov r9, rbx
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call fcn.14003aabc
nop
lea rcx, [rsp + 0x58]
call fcn.140003cf8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x38]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x68]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x18]
call fcn.14000b438
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 0x14005d276
inc rax
jmp 0x14005d27d
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x322700000000
jmp 0x14005d4ae
mov eax, dword [r14 + 8]
mov dword [rsp + 0x44], eax
mov rax, qword [rbx + 0x10]
sub rsi, rax
cmp rsi, 0x1b
jb 0x14005d4e9
cmp qword [rbx + 0x18], 8
jb 0x14005d2c9
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 0x1b
lea rcx, str.PeriodicRefreshIntervalUnit
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rsp + 0x58]
call fcn.14001c404
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14001bcc0
lea rcx, [rsp + 0x58]
call fcn.140003cf8
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r8, qword [rsp + 0x78]
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005d4b3
mov r8d, 0x1a2
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x18]
call fcn.14003a94c
mov rsi, rax
call fcn.14000aaa8
mov qword [rbp - 0x68], r12
movdqa xmm0, xmmword [0x140092210]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x68]
call fcn.140003d68
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x48]
call fcn.14003a914
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000c620
cmp qword [rdi + 0x18], 8
jb 0x14005d3b6
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400123a0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400123a0
mov rbx, rax
mov qword [rsp + 0x58], r12
movdqa xmm0, xmmword [0x140092210]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x58]
call fcn.140003d68
nop
mov r9, rbx
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call fcn.14003aabc
nop
lea rcx, [rsp + 0x58]
call fcn.140003cf8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x38]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x68]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x18]
call fcn.14000b438
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 0x14005d483
inc rax
jmp 0x14005d48a
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x342700000000
or rbx, rax
jmp 0x14005d4bd
movabs rbx, 0x8000000000
lea rcx, [rsp + 0x78]
call fcn.140003cf8
mov rax, rbx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140061aa0
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140003cd8
nop
int3