Function at 0x14005c594
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400ab2f8]
xor rax, rsp
mov qword [rbp], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
movdqa xmm0, xmmword [0x140091cb0]
movdqu xmmword [rsp + 0x58], xmm0
xor r13d, r13d
mov word [rsp + 0x48], r13w
movzx eax, byte [r9]
mov dword [rsp + 0x34], eax
lea r8, str.Enabled
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140038e14
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001afbc
lea rcx, [rsp + 0x68]
call fcn.140003764
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
lea r12d, [r13 + 4]
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14005c7b1
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
cmp qword [rbx + 0x18], 8
jb 0x14005c673
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
movdqa xmm0, xmmword [0x140091cb0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
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.140003804
nop
movdqa xmm0, xmmword [0x140091cb0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r13w
lea rdx, str.Publishing
lea rcx, [rbp - 0x78]
call fcn.140003804
nop
call fcn.14000a17c
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x58]
call fcn.140038a88
mov rbx, rax
mov r8d, 0x175
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.140038ac0
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b838
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140010c54
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140010c54
mov r9, rax
lea r8, [rbp - 0x78]
mov edx, 1
mov rcx, rdi
call fcn.140038d98
nop
lea rcx, [rbp - 0x28]
call fcn.140006804
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x48]
call fcn.140003764
nop
lea rcx, [rbp - 0x78]
call fcn.140003764
nop
lea rcx, [rsp + 0x68]
call fcn.140003764
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 0x14005c781
inc rax
jmp 0x14005c788
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac650]
call fcn.140011ab4
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x2e2700000000
jmp 0x14005cd20
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x34], eax
lea r8, str.LogonRefresh
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140038e14
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001afbc
lea rcx, [rsp + 0x68]
call fcn.140003764
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14005c983
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
cmp qword [rbx + 0x18], 8
jb 0x14005c845
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140091cb0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r13w
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.140003804
nop
movdqa xmm0, xmmword [0x140091cb0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.140003804
nop
call fcn.14000a17c
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
call fcn.140038a88
mov rbx, rax
mov r8d, 0x184
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.140038ac0
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b838
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140010c54
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140010c54
mov r9, rax
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call fcn.140038d98
nop
lea rcx, [rbp - 0x28]
call fcn.140006804
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x48]
call fcn.140003764
nop
lea rcx, [rsp + 0x68]
call fcn.140003764
nop
lea rcx, [rbp - 0x78]
call fcn.140003764
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 0x14005c953
inc rax
jmp 0x14005c95a
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac650]
call fcn.140011ab4
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x302700000000
jmp 0x14005cd20
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshInterval
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140038e14
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001afbc
lea rcx, [rsp + 0x68]
call fcn.140003764
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14005cb54
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
cmp qword [rbx + 0x18], 8
jb 0x14005ca16
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140091cb0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r13w
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.140003804
nop
movdqa xmm0, xmmword [0x140091cb0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.140003804
nop
call fcn.14000a17c
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
call fcn.140038a88
mov rbx, rax
mov r8d, 0x193
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.140038ac0
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b838
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140010c54
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140010c54
mov r9, rax
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call fcn.140038d98
nop
lea rcx, [rbp - 0x28]
call fcn.140006804
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x48]
call fcn.140003764
nop
lea rcx, [rsp + 0x68]
call fcn.140003764
nop
lea rcx, [rbp - 0x78]
call fcn.140003764
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 0x14005cb24
inc rax
jmp 0x14005cb2b
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac650]
call fcn.140011ab4
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x322700000000
jmp 0x14005cd20
mov eax, dword [r14 + 8]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140038e14
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001afbc
lea rcx, [rsp + 0x68]
call fcn.140003764
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14005cd25
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
cmp qword [rbx + 0x18], 8
jb 0x14005cbe7
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140091cb0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r13w
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.140003804
nop
movdqa xmm0, xmmword [0x140091cb0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.140003804
nop
call fcn.14000a17c
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
call fcn.140038a88
mov rbx, rax
mov r8d, 0x1a2
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.140038ac0
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b838
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140010c54
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140010c54
mov r9, rax
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call fcn.140038d98
nop
lea rcx, [rbp - 0x28]
call fcn.140006804
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x48]
call fcn.140003764
nop
lea rcx, [rsp + 0x68]
call fcn.140003764
nop
lea rcx, [rbp - 0x78]
call fcn.140003764
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 0x14005ccf5
inc rax
jmp 0x14005ccfc
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac650]
call fcn.140011ab4
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x342700000000
or rbx, rax
jmp 0x14005cd2f
movabs rbx, 0x8000000000
lea rcx, [rsp + 0x48]
call fcn.140003764
mov rax, rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140061060
add rsp, 0x110
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret