Function at 0x14006074c
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 qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400c2270]
xor rax, rsp
mov qword [rbp + 8], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
movzx eax, byte [r9]
mov dword [rsp + 0x34], eax
lea r8, str.Enabled
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14003a9f0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400184b0
lea r12d, [r13 + 2]
mov rdx, qword [rsp + 0x68]
lea r15d, [r13 + 8]
cmp rdx, r15
jb 0x1400607ed
inc rdx
mov r8d, r12d
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], r15
cmovae r8, qword [rsp + 0x70]
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, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x1400609a7
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], r15
cmovae rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
cmp qword [rbx + 0x18], r15
jb 0x140060846
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x60], r13
mov ebx, 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x50], r13w
lea r8d, [rbx + 0x46]
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rsp + 0x50]
call fcn.1400030f0
nop
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], rbx
mov word [rbp - 0x70], r13w
lea r8d, [rbx + 3]
lea rdx, str.Publishing
lea rcx, [rbp - 0x70]
call fcn.1400030f0
nop
call fcn.140007558
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x28]
call fcn.14003a428
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x50]
call fcn.14003a658
mov dword [rbp - 0x30], 0x175
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140009480
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000edac
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000edac
mov r9, rbx
lea r8, [rbp - 0x70]
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.14003a5d4
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14006091e
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x50]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x28]
call fcn.14003ace4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r15
jb 0x140060941
inc rdx
mov r8, r12
mov rcx, qword [rbp - 0x70]
call fcn.140002ec0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x14006095b
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
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]
test rax, rax
je 0x140060977
add rax, rbx
jmp 0x14006097e
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x2e2700000000
jmp 0x140060f99
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x34], eax
lea r8, str.LogonRefresh
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14003a9f0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400184b0
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x1400609eb
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], r15
cmovae r8, qword [rsp + 0x70]
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140060ba4
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], r15
cmovae rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
cmp qword [rbx + 0x18], r15
jb 0x140060a43
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
mov qword [rbp - 0x60], r13
mov ebx, 7
mov qword [rbp - 0x58], rbx
mov word [rbp - 0x70], r13w
lea r8d, [rbx + 0x46]
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x70]
call fcn.1400030f0
nop
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x50], r13w
lea r8d, [rbx + 3]
lea rdx, str.Publishing
lea rcx, [rsp + 0x50]
call fcn.1400030f0
nop
call fcn.140007558
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x28]
call fcn.14003a428
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x50]
call fcn.14003a658
mov dword [rbp - 0x30], 0x184
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140009480
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000edac
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000edac
mov r9, rbx
lea r8, [rsp + 0x50]
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.14003a5d4
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140060b1b
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x50]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x28]
call fcn.14003ace4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x140060b40
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r15
jb 0x140060b58
inc rdx
mov r8, r12
mov rcx, qword [rbp - 0x70]
call fcn.140002ec0
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]
test rax, rax
je 0x140060b74
add rax, rbx
jmp 0x140060b7b
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x302700000000
jmp 0x140060f99
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshInterval
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14003a9f0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400184b0
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x140060be7
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], r15
cmovae r8, qword [rsp + 0x70]
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, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140060da1
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], r15
cmovae rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
cmp qword [rbx + 0x18], r15
jb 0x140060c40
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
mov qword [rbp - 0x60], r13
mov ebx, 7
mov qword [rbp - 0x58], rbx
mov word [rbp - 0x70], r13w
lea r8d, [rbx + 0x46]
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x70]
call fcn.1400030f0
nop
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x50], r13w
lea r8d, [rbx + 3]
lea rdx, str.Publishing
lea rcx, [rsp + 0x50]
call fcn.1400030f0
nop
call fcn.140007558
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x28]
call fcn.14003a428
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x50]
call fcn.14003a658
mov dword [rbp - 0x30], 0x193
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140009480
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000edac
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000edac
mov r9, rbx
lea r8, [rsp + 0x50]
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.14003a5d4
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140060d18
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x50]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x28]
call fcn.14003ace4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x140060d3d
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r15
jb 0x140060d55
inc rdx
mov r8, r12
mov rcx, qword [rbp - 0x70]
call fcn.140002ec0
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]
test rax, rax
je 0x140060d71
add rax, rbx
jmp 0x140060d78
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x322700000000
jmp 0x140060f99
mov eax, dword [r14 + 8]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14003a9f0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400184b0
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x140060de4
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], r15
cmovae r8, qword [rsp + 0x70]
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, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140060f9e
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], r15
cmovae rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
cmp qword [rbx + 0x18], r15
jb 0x140060e3d
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
mov qword [rbp - 0x60], r13
mov ebx, 7
mov qword [rbp - 0x58], rbx
mov word [rbp - 0x70], r13w
lea r8d, [rbx + 0x46]
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x70]
call fcn.1400030f0
nop
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x50], r13w
lea r8d, [rbx + 3]
lea rdx, str.Publishing
lea rcx, [rsp + 0x50]
call fcn.1400030f0
nop
call fcn.140007558
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x28]
call fcn.14003a428
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x50]
call fcn.14003a658
mov dword [rbp - 0x30], 0x1a2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140009480
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000edac
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000edac
mov r9, rbx
lea r8, [rsp + 0x50]
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.14003a5d4
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140060f15
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x50]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x28]
call fcn.14003ace4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x140060f3a
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r15
jb 0x140060f52
inc rdx
mov r8, r12
mov rcx, qword [rbp - 0x70]
call fcn.140002ec0
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]
test rax, rax
je 0x140060f6e
add rax, rbx
jmp 0x140060f75
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x342700000000
or rbx, rax
jmp 0x140060fa8
movabs rbx, 0x8000000000
mov rdx, qword [rbp - 0x78]
cmp rdx, r15
jb 0x140060fc1
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x70]
call fcn.140002ec0
mov rax, rbx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140065760
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret