Function at 0x14006018c
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 [0x1400c1270]
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.14003a2d0
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 0x14006022d
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 0x1400603e7
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 0x140060286
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.140039d08
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x50]
call fcn.140039f38
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.140039eb4
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14006035e
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x50]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x28]
call fcn.14003a5c4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r15
jb 0x140060381
inc rdx
mov r8, r12
mov rcx, qword [rbp - 0x70]
call fcn.140002ec0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x14006039b
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 0x1400603b7
add rax, rbx
jmp 0x1400603be
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c2688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x2e2700000000
jmp 0x1400609d9
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x34], eax
lea r8, str.LogonRefresh
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14003a2d0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400184b0
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x14006042b
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 0x1400605e4
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 0x140060483
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.140039d08
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x50]
call fcn.140039f38
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.140039eb4
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14006055b
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x50]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x28]
call fcn.14003a5c4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x140060580
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r15
jb 0x140060598
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 0x1400605b4
add rax, rbx
jmp 0x1400605bb
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c2688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x302700000000
jmp 0x1400609d9
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshInterval
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14003a2d0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400184b0
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x140060627
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 0x1400607e1
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 0x140060680
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.140039d08
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x50]
call fcn.140039f38
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.140039eb4
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140060758
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x50]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x28]
call fcn.14003a5c4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x14006077d
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r15
jb 0x140060795
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 0x1400607b1
add rax, rbx
jmp 0x1400607b8
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c2688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x322700000000
jmp 0x1400609d9
mov eax, dword [r14 + 8]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14003a2d0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400184b0
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x140060824
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 0x1400609de
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 0x14006087d
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.140039d08
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x50]
call fcn.140039f38
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.140039eb4
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140060955
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x50]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x28]
call fcn.14003a5c4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
jb 0x14006097a
inc rdx
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r15
jb 0x140060992
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 0x1400609ae
add rax, rbx
jmp 0x1400609b5
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c2688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x342700000000
or rbx, rax
jmp 0x1400609e8
movabs rbx, 0x8000000000
mov rdx, qword [rbp - 0x78]
cmp rdx, r15
jb 0x140060a01
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.1400651a0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret