Function at 0x14005b8d8
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400bc288]
xor rax, rsp
mov qword [rbp + 8], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
movdqa xmm0, xmmword [0x140093d30]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
movzx eax, byte [r9]
mov dword [rsp + 0x34], eax
lea r8, str.Enabled
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140038924
mov rdi, rax
lea rax, [rsp + 0x50]
cmp rax, rdi
je 0x14005b982
lea rcx, [rsp + 0x50]
call fcn.140003388
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
lea rcx, [rsp + 0x70]
call fcn.140003388
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
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]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14005bb36
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
cmp qword [rbx + 0x18], 8
jb 0x14005b9ea
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
movdqa xmm0, xmmword [0x140093d30]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rsp + 0x70]
call fcn.1400033fc
nop
movdqa xmm0, xmmword [0x140093d30]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x70]
call fcn.1400033fc
nop
call fcn.140007358
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x28]
call fcn.1400386d8
mov rbx, rax
movdqa xmm0, xmmword [0x140093d40]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], r12b
lea r9, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
mov edx, 0x56
lea rcx, [rbp - 0x50]
call fcn.1400389a8
mov dword [rbp - 0x30], 0x175
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140009290
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000e2dc
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000e2dc
mov r9, rbx
lea r8, [rbp - 0x70]
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.140038838
nop
lea rcx, [rbp - 0x50]
call fcn.140006108
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x18]
call fcn.140003388
nop
lea rcx, [rbp - 0x70]
call fcn.140003388
nop
lea rcx, [rsp + 0x70]
call fcn.140003388
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 0x14005bb06
inc rax
jmp 0x14005bb0d
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bd678]
call fcn.14000e7dc
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x2e2700000000
jmp 0x14005c149
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x34], eax
lea r8, str.LogonRefresh
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140038924
mov rdi, rax
lea rax, [rsp + 0x50]
cmp rax, rdi
je 0x14005bb8b
lea rcx, [rsp + 0x50]
call fcn.140003388
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
lea rcx, [rsp + 0x70]
call fcn.140003388
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
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]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14005bd3e
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
cmp qword [rbx + 0x18], 8
jb 0x14005bbf2
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140093d30]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r12w
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.1400033fc
nop
movdqa xmm0, xmmword [0x140093d30]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x70]
call fcn.1400033fc
nop
call fcn.140007358
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x28]
call fcn.1400386d8
mov rbx, rax
movdqa xmm0, xmmword [0x140093d40]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], r12b
lea r9, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
mov edx, 0x56
lea rcx, [rbp - 0x50]
call fcn.1400389a8
mov dword [rbp - 0x30], 0x184
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140009290
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000e2dc
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000e2dc
mov r9, rbx
lea r8, [rsp + 0x70]
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.140038838
nop
lea rcx, [rbp - 0x50]
call fcn.140006108
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x18]
call fcn.140003388
nop
lea rcx, [rsp + 0x70]
call fcn.140003388
nop
lea rcx, [rbp - 0x70]
call fcn.140003388
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 0x14005bd0e
inc rax
jmp 0x14005bd15
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bd678]
call fcn.14000e7dc
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x302700000000
jmp 0x14005c149
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshInterval
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140038924
mov rdi, rax
lea rax, [rsp + 0x50]
cmp rax, rdi
je 0x14005bd92
lea rcx, [rsp + 0x50]
call fcn.140003388
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
lea rcx, [rsp + 0x70]
call fcn.140003388
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
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]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14005bf46
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
cmp qword [rbx + 0x18], 8
jb 0x14005bdfa
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140093d30]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r12w
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.1400033fc
nop
movdqa xmm0, xmmword [0x140093d30]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x70]
call fcn.1400033fc
nop
call fcn.140007358
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x28]
call fcn.1400386d8
mov rbx, rax
movdqa xmm0, xmmword [0x140093d40]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], r12b
lea r9, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
mov edx, 0x56
lea rcx, [rbp - 0x50]
call fcn.1400389a8
mov dword [rbp - 0x30], 0x193
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140009290
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000e2dc
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000e2dc
mov r9, rbx
lea r8, [rsp + 0x70]
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.140038838
nop
lea rcx, [rbp - 0x50]
call fcn.140006108
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x18]
call fcn.140003388
nop
lea rcx, [rsp + 0x70]
call fcn.140003388
nop
lea rcx, [rbp - 0x70]
call fcn.140003388
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 0x14005bf16
inc rax
jmp 0x14005bf1d
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bd678]
call fcn.14000e7dc
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x322700000000
jmp 0x14005c149
mov eax, dword [r14 + 8]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140038924
mov rdi, rax
lea rax, [rsp + 0x50]
cmp rax, rdi
je 0x14005bf9a
lea rcx, [rsp + 0x50]
call fcn.140003388
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
lea rcx, [rsp + 0x70]
call fcn.140003388
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
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]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14005c14e
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
cmp qword [rbx + 0x18], 8
jb 0x14005c002
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140093d30]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r12w
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.1400033fc
nop
movdqa xmm0, xmmword [0x140093d30]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x70]
call fcn.1400033fc
nop
call fcn.140007358
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x28]
call fcn.1400386d8
mov rbx, rax
movdqa xmm0, xmmword [0x140093d40]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], r12b
lea r9, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
mov edx, 0x56
lea rcx, [rbp - 0x50]
call fcn.1400389a8
mov dword [rbp - 0x30], 0x1a2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140009290
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000e2dc
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000e2dc
mov r9, rbx
lea r8, [rsp + 0x70]
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.140038838
nop
lea rcx, [rbp - 0x50]
call fcn.140006108
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x18]
call fcn.140003388
nop
lea rcx, [rsp + 0x70]
and al, 0x70
call fcn.140003388
nop
lea rcx, [rbp - 0x70]
call fcn.140003388
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 0x14005c11e
inc rax
jmp 0x14005c125
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bd678]
call fcn.14000e7dc
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x342700000000
or rbx, rax
jmp 0x14005c158
movabs rbx, 0x8000000000
lea rcx, [rsp + 0x50]
call fcn.140003388
mov rax, rbx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140060290
add rsp, 0x110
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret