Function at 0x1400607c4
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x1400b02e8]
xor rax, rsp
mov qword [rbp], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov r15, rcx
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
movzx eax, byte [r9]
mov dword [rsp + 0x34], eax
lea r8, str.Enabled
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003c90c
mov rdi, rax
lea rax, [rsp + 0x48]
lea r13d, [r12 + 8]
cmp rax, rdi
je 0x14006088a
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jb 0x140060858
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.140003d24
mov qword [rsp + 0x58], r12
mov eax, 7
mov qword [rsp + 0x60], rax
mov word [rsp + 0x48], r12w
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], rax
mov word [rdi], r12w
mov rdx, qword [rbp - 0x80]
cmp rdx, r13
jb 0x1400608a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
call fcn.140003d24
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], r13
cmovae r8, qword [rsp + 0x48]
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x34]
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 + 0x30], eax
test eax, eax
je 0x140060a7d
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x58]
call fcn.14003c848
mov dword [rbp - 0x38], 0x175
call fcn.14000a8e4
mov qword [rsp + 0x78], r12
mov edi, 7
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x68], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rsp + 0x68]
call fcn.140003b34
nop
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x30]
call fcn.14003c478
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000c28c
cmp qword [rbx + 0x18], r13
jb 0x14006094f
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1400126e0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], r13
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400126e0
mov rbx, rax
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rdi
mov word [rbp - 0x78], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x78]
call fcn.140003b34
nop
mov r9, rbx
lea r8, [rbp - 0x78]
mov edx, 1
lea rcx, [rbp - 0x58]
call fcn.14003c72c
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, r13
jb 0x1400609d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
call fcn.140003d24
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rdi
mov word [rbp - 0x78], r12w
lea rcx, [rbp - 0x30]
call fcn.14003cd5c
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r13
jb 0x140060a06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
call fcn.140003d24
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x68], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140060a2b
inc rdx
mov rcx, qword [rbp - 0x58]
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 0x140060a4d
inc rax
jmp 0x140060a54
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, 0x2e2700000000
jmp 0x1400611b8
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x34], eax
lea r8, str.LogonRefresh
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003c90c
mov rdi, rax
lea rax, [rsp + 0x48]
cmp rax, rdi
je 0x140060af5
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jb 0x140060ac3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.140003d24
mov qword [rsp + 0x58], r12
mov eax, 7
mov qword [rsp + 0x60], rax
mov word [rsp + 0x48], r12w
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], rax
mov word [rdi], r12w
mov rdx, qword [rbp - 0x80]
cmp rdx, r13
jb 0x140060b10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
call fcn.140003d24
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], r13
cmovae r8, qword [rsp + 0x48]
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x34]
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 + 0x30], eax
test eax, eax
je 0x140060ce7
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x58]
call fcn.14003c848
mov dword [rbp - 0x38], 0x184
call fcn.14000a8e4
mov qword [rbp - 0x68], r12
mov edi, 7
mov qword [rbp - 0x60], rdi
mov word [rbp - 0x78], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x78]
call fcn.140003b34
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x30]
call fcn.14003c478
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000c28c
cmp qword [rbx + 0x18], r13
jb 0x140060bb5
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400126e0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], r13
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1400126e0
mov rbx, rax
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.140003b34
nop
mov r9, rbx
lea r8, [rsp + 0x68]
mov edx, 1
lea rcx, [rbp - 0x58]
call fcn.14003c72c
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r13
jb 0x140060c3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
call fcn.140003d24
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x68], r12w
lea rcx, [rbp - 0x30]
call fcn.14003cd5c
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, r13
jb 0x140060c72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
call fcn.140003d24
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rdi
mov word [rbp - 0x78], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140060c95
inc rdx
mov rcx, qword [rbp - 0x58]
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 0x140060cb7
inc rax
jmp 0x140060cbe
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, 0x302700000000
jmp 0x1400611b8
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshInterval
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003c90c
mov rdi, rax
lea rax, [rsp + 0x48]
cmp rax, rdi
je 0x140060d5e
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jb 0x140060d2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.140003d24
mov qword [rsp + 0x58], r12
mov eax, 7
mov qword [rsp + 0x60], rax
mov word [rsp + 0x48], r12w
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], rax
mov word [rdi], r12w
mov rdx, qword [rbp - 0x80]
cmp rdx, r13
jb 0x140060d79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
call fcn.140003d24
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], r13
cmovae r8, qword [rsp + 0x48]
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x34]
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 + 0x30], eax
test eax, eax
je 0x140060f51
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x58]
call fcn.14003c848
mov dword [rbp - 0x38], 0x193
call fcn.14000a8e4
mov qword [rbp - 0x68], r12
mov edi, 7
mov qword [rbp - 0x60], rdi
mov word [rbp - 0x78], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x78]
call fcn.140003b34
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x30]
call fcn.14003c478
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000c28c
cmp qword [rbx + 0x18], r13
jb 0x140060e1f
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400126e0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], r13
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1400126e0
mov rbx, rax
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.140003b34
nop
mov r9, rbx
lea r8, [rsp + 0x68]
mov edx, 1
lea rcx, [rbp - 0x58]
call fcn.14003c72c
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r13
jb 0x140060ea9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
call fcn.140003d24
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rdi
mov word [rsp + 0x68], r12w
lea rcx, [rbp - 0x30]
call fcn.14003cd5c
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, r13
jb 0x140060edc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
call fcn.140003d24
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rdi
mov word [rbp - 0x78], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140060eff
inc rdx
mov rcx, qword [rbp - 0x58]
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 0x140060f21
inc rax
jmp 0x140060f28
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, 0x322700000000
jmp 0x1400611b8
mov eax, dword [r14 + 8]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003c90c
mov rdi, rax
lea rax, [rsp + 0x48]
cmp rax, rdi
je 0x140060fca
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jb 0x140060f96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.140003d24
mov qword [rsp + 0x58], r12
mov esi, 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x48], r12w
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], rsi
mov word [rdi], r12w
jmp 0x140060fcf
mov esi, 7
mov rdx, qword [rbp - 0x80]
cmp rdx, r13
jb 0x140060fea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
call fcn.140003d24
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], r13
cmovae r8, qword [rsp + 0x48]
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x34]
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 + 0x30], eax
test eax, eax
je 0x1400611bd
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x58]
call fcn.14003c848
mov dword [rbp - 0x38], 0x1a2
call fcn.14000a8e4
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x78], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x78]
call fcn.140003b34
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x30]
call fcn.14003c478
nop
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.14000c28c
cmp qword [rbx + 0x18], r13
jb 0x14006108b
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400126e0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], r13
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1400126e0
mov rbx, rax
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.140003b34
nop
mov r9, rbx
lea r8, [rsp + 0x68]
mov edx, 1
lea rcx, [rbp - 0x58]
call fcn.14003c72c
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r13
jb 0x140061115
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
call fcn.140003d24
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x68], r12w
lea rcx, [rbp - 0x30]
call fcn.14003cd5c
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, r13
jb 0x140061148
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
call fcn.140003d24
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x78], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14006116b
inc rdx
mov rcx, qword [rbp - 0x58]
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 0x14006118d
inc rax
jmp 0x140061194
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, 0x342700000000
or rbx, rax
jmp 0x1400611c7
movabs rbx, 0x8000000000
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jb 0x1400611e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.140003d24
mov rax, rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140066410
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret