Function at 0x140061564
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 [0x1400b1598]
xor rax, rsp
mov qword [rbp], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
movdqa xmm0, xmmword [0x1400971a0]
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.14003db94
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001fd3c
lea rcx, [rsp + 0x68]
call fcn.1400042a4
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 0x140061781
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 0x140061643
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
movdqa xmm0, xmmword [0x1400971a0]
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.140004344
nop
movdqa xmm0, xmmword [0x1400971a0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r13w
lea rdx, str.Publishing
lea rcx, [rbp - 0x78]
call fcn.140004344
nop
call fcn.14000e5ac
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x58]
call fcn.14003d808
mov rbx, rax
mov r8d, 0x175
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.14003d840
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400103a8
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.1400159d4
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400159d4
mov r9, rax
lea r8, [rbp - 0x78]
mov edx, 1
mov rcx, rdi
call fcn.14003db18
nop
lea rcx, [rbp - 0x28]
call fcn.140007344
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x48]
call fcn.1400042a4
nop
lea rcx, [rbp - 0x78]
call fcn.1400042a4
nop
lea rcx, [rsp + 0x68]
call fcn.1400042a4
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 0x140061751
inc rax
jmp 0x140061758
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400b2950]
call fcn.140016834
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x2e2700000000
jmp 0x140061cf0
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x34], eax
lea r8, str.LogonRefresh
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003db94
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001fd3c
lea rcx, [rsp + 0x68]
call fcn.1400042a4
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 0x140061953
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 0x140061815
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x1400971a0]
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.140004344
nop
movdqa xmm0, xmmword [0x1400971a0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.140004344
nop
call fcn.14000e5ac
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
call fcn.14003d808
mov rbx, rax
mov r8d, 0x184
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.14003d840
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400103a8
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400159d4
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.1400159d4
mov r9, rax
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call fcn.14003db18
nop
lea rcx, [rbp - 0x28]
call fcn.140007344
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x48]
call fcn.1400042a4
nop
lea rcx, [rsp + 0x68]
call fcn.1400042a4
nop
lea rcx, [rbp - 0x78]
call fcn.1400042a4
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 0x140061923
inc rax
jmp 0x14006192a
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400b2950]
call fcn.140016834
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x302700000000
jmp 0x140061cf0
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshInterval
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003db94
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001fd3c
lea rcx, [rsp + 0x68]
call fcn.1400042a4
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 0x140061b24
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 0x1400619e6
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x1400971a0]
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.140004344
nop
movdqa xmm0, xmmword [0x1400971a0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.140004344
nop
call fcn.14000e5ac
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
call fcn.14003d808
mov rbx, rax
mov r8d, 0x193
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.14003d840
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400103a8
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400159d4
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.1400159d4
mov r9, rax
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call fcn.14003db18
nop
lea rcx, [rbp - 0x28]
call fcn.140007344
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x48]
call fcn.1400042a4
nop
lea rcx, [rsp + 0x68]
call fcn.1400042a4
nop
lea rcx, [rbp - 0x78]
call fcn.1400042a4
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 0x140061af4
inc rax
jmp 0x140061afb
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400b2950]
call fcn.140016834
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x322700000000
jmp 0x140061cf0
mov eax, dword [r14 + 8]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003db94
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001fd3c
lea rcx, [rsp + 0x68]
call fcn.1400042a4
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 0x140061cf5
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 0x140061bb7
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x1400971a0]
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.140004344
nop
movdqa xmm0, xmmword [0x1400971a0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.140004344
nop
call fcn.14000e5ac
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x58]
call fcn.14003d808
mov rbx, rax
mov r8d, 0x1a2
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x28]
call fcn.14003d840
mov rdi, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400103a8
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400159d4
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.1400159d4
mov r9, rax
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call fcn.14003db18
nop
lea rcx, [rbp - 0x28]
call fcn.140007344
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x48]
call fcn.1400042a4
nop
lea rcx, [rsp + 0x68]
call fcn.1400042a4
nop
lea rcx, [rbp - 0x78]
call fcn.1400042a4
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 0x140061cc5
inc rax
jmp 0x140061ccc
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400b2950]
call fcn.140016834
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x342700000000
or rbx, rax
jmp 0x140061cff
movabs rbx, 0x8000000000
lea rcx, [rsp + 0x48]
call fcn.1400042a4
mov rax, rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140066030
add rsp, 0x110
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret