Function at 0x1400607d4
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 0x14006089a
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jb 0x140060868
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 0x1400608b5
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 0x140060a8d
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 0x14006095f
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 0x1400609e4
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 0x140060a16
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 0x140060a3b
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 0x140060a5d
inc rax
jmp 0x140060a64
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 0x1400611c8
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 0x140060b05
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jb 0x140060ad3
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 0x140060b20
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 0x140060cf7
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 0x140060bc5
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 0x140060c4f
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 0x140060c82
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 0x140060ca5
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 0x140060cc7
inc rax
jmp 0x140060cce
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 0x1400611c8
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 0x140060d6e
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jb 0x140060d3c
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 0x140060d89
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 0x140060f61
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 0x140060e2f
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 0x140060eb9
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 0x140060eec
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 0x140060f0f
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 0x140060f31
inc rax
jmp 0x140060f38
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 0x1400611c8
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 0x140060fda
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jb 0x140060fa6
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 0x140060fdf
mov esi, 7
mov rdx, qword [rbp - 0x80]
cmp rdx, r13
jb 0x140060ffa
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 0x1400611cd
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 0x14006109b
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 0x140061125
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 0x140061158
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 0x14006117b
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 0x14006119d
inc rax
jmp 0x1400611a4
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 0x1400611d7
movabs rbx, 0x8000000000
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jb 0x1400611f3
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.140066420
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret