Function at 0x14005c614
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 [0x140091d20]
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.140038e94
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001b03c
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 0x14005c831
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 0x14005c6f3
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
movdqa xmm0, xmmword [0x140091d20]
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 [0x140091d20]
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.140038b08
mov rbx, rax
mov r8d, 0x175
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.140038b40
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b8b8
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140010cd4
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140010cd4
mov r9, rax
lea r8, [rbp - 0x78]
mov edx, 1
mov rcx, rdi
call fcn.140038e18
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 0x14005c801
inc rax
jmp 0x14005c808
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac650]
call fcn.140011b34
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x2e2700000000
jmp 0x14005cda0
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x34], eax
lea r8, str.LogonRefresh
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140038e94
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001b03c
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 0x14005ca03
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 0x14005c8c5
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140091d20]
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 [0x140091d20]
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.140038b08
mov rbx, rax
mov r8d, 0x184
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.140038b40
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b8b8
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140010cd4
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140010cd4
mov r9, rax
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call fcn.140038e18
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 0x14005c9d3
inc rax
jmp 0x14005c9da
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac650]
call fcn.140011b34
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x302700000000
jmp 0x14005cda0
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshInterval
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140038e94
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001b03c
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 0x14005cbd4
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 0x14005ca96
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140091d20]
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 [0x140091d20]
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.140038b08
mov rbx, rax
mov r8d, 0x193
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.140038b40
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b8b8
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140010cd4
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140010cd4
mov r9, rax
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call fcn.140038e18
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 0x14005cba4
inc rax
jmp 0x14005cbab
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac650]
call fcn.140011b34
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x322700000000
jmp 0x14005cda0
mov eax, dword [r14 + 8]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140038e94
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001b03c
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 0x14005cda5
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 0x14005cc67
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140091d20]
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 [0x140091d20]
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.140038b08
mov rbx, rax
mov r8d, 0x1a2
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.140038b40
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b8b8
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140010cd4
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.140010cd4
mov r9, rax
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call fcn.140038e18
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 0x14005cd75
inc rax
jmp 0x14005cd7c
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac650]
call fcn.140011b34
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x342700000000
or rbx, rax
jmp 0x14005cdaf
movabs rbx, 0x8000000000
lea rcx, [rsp + 0x48]
call fcn.140003764
mov rax, rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400610e0
add rsp, 0x110
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret