Function at 0x14005cc40
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400ab2e8]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov r15, rcx
xor r12d, r12d
mov qword [rsp + 0x78], r12
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
movzx eax, byte [r9]
mov dword [rsp + 0x44], eax
mov rcx, qword [r8 + 0x10]
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
sub rax, rcx
cmp rax, 7
jb 0x14005d509
mov r9, rbx
cmp qword [r8 + 0x18], 8
jb 0x14005ccbf
mov r9, qword [r8]
mov qword [rsp + 0x30], 7
lea rax, str.Enabled
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.14001c404
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14001bcc0
lea rcx, [rsp + 0x58]
call fcn.140003cf8
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r8, qword [rsp + 0x78]
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005cea6
mov r8d, 0x175
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x18]
call fcn.14003a94c
mov rsi, rax
call fcn.14000aaa8
mov qword [rsp + 0x58], r12
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rsp + 0x58]
call fcn.140003d68
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x48]
call fcn.14003a914
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000c620
cmp qword [rdi + 0x18], 8
jb 0x14005cdae
mov rdi, qword [rdi]
mov qword [rsp + 0x48], rdi
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400123a0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400123a0
mov rbx, rax
mov qword [rbp - 0x68], r12
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x68]
call fcn.140003d68
nop
mov r9, rbx
lea r8, [rbp - 0x68]
mov edx, 1
mov rcx, rsi
call fcn.14003aabc
nop
lea rcx, [rbp - 0x68]
call fcn.140003cf8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x38]
call fcn.140003cf8
nop
lea rcx, [rsp + 0x58]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x18]
call fcn.14000b438
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 0x14005ce76
inc rax
jmp 0x14005ce7d
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x2e2700000000
jmp 0x14005d4ce
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x44], eax
mov rcx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rcx
cmp rax, 0xc
jb 0x14005d509
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005ced0
mov r9, qword [rbx]
mov qword [rsp + 0x30], SafeArrayGetDim
lea rax, str.LogonRefresh
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.14001c404
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14001bcc0
lea rcx, [rsp + 0x58]
call fcn.140003cf8
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r8, qword [rsp + 0x78]
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005d0b6
mov r8d, 0x184
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x18]
call fcn.14003a94c
mov rsi, rax
call fcn.14000aaa8
mov qword [rbp - 0x68], r12
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x68]
call fcn.140003d68
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x48]
call fcn.14003a914
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000c620
cmp qword [rdi + 0x18], 8
jb 0x14005cfb9
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400123a0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400123a0
mov rbx, rax
mov qword [rsp + 0x58], r12
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x58]
call fcn.140003d68
nop
mov r9, rbx
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call fcn.14003aabc
nop
lea rcx, [rsp + 0x58]
call fcn.140003cf8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x38]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x68]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x18]
call fcn.14000b438
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 0x14005d086
inc rax
jmp 0x14005d08d
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x302700000000
jmp 0x14005d4ce
mov eax, dword [r14 + 4]
mov dword [rsp + 0x44], eax
mov rcx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rcx
cmp rax, 0x17
jb 0x14005d509
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005d0df
mov r9, qword [rbx]
mov qword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea rax, str.PeriodicRefreshInterval
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.14001c404
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14001bcc0
lea rcx, [rsp + 0x58]
call fcn.140003cf8
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r8, qword [rsp + 0x78]
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005d2c6
mov r8d, 0x193
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x18]
call fcn.14003a94c
mov rsi, rax
call fcn.14000aaa8
mov qword [rbp - 0x68], r12
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x68]
call fcn.140003d68
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x48]
call fcn.14003a914
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000c620
cmp qword [rdi + 0x18], 8
jb 0x14005d1c9
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400123a0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400123a0
mov rbx, rax
mov qword [rsp + 0x58], r12
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x58]
call fcn.140003d68
nop
mov r9, rbx
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call fcn.14003aabc
nop
lea rcx, [rsp + 0x58]
call fcn.140003cf8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x38]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x68]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x18]
call fcn.14000b438
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 0x14005d296
inc rax
jmp 0x14005d29d
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x322700000000
jmp 0x14005d4ce
mov eax, dword [r14 + 8]
mov dword [rsp + 0x44], eax
mov rax, qword [rbx + 0x10]
sub rsi, rax
cmp rsi, 0x1b
jb 0x14005d509
cmp qword [rbx + 0x18], 8
jb 0x14005d2e9
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 0x1b
lea rcx, str.PeriodicRefreshIntervalUnit
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rsp + 0x58]
call fcn.14001c404
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14001bcc0
lea rcx, [rsp + 0x58]
call fcn.140003cf8
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r8, qword [rsp + 0x78]
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005d4d3
mov r8d, 0x1a2
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
lea rcx, [rbp - 0x18]
call fcn.14003a94c
mov rsi, rax
call fcn.14000aaa8
mov qword [rbp - 0x68], r12
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x68]
call fcn.140003d68
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x48]
call fcn.14003a914
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000c620
cmp qword [rdi + 0x18], 8
jb 0x14005d3d6
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400123a0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400123a0
mov rbx, rax
mov qword [rsp + 0x58], r12
movdqa xmm0, xmmword [0x140092240]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
lea rdx, str.Publishing
lea rcx, [rsp + 0x58]
call fcn.140003d68
nop
mov r9, rbx
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call fcn.14003aabc
nop
lea rcx, [rsp + 0x58]
call fcn.140003cf8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x38]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x68]
call fcn.140003cf8
nop
lea rcx, [rbp - 0x18]
call fcn.14000b438
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 0x14005d4a3
inc rax
jmp 0x14005d4aa
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x342700000000
or rbx, rax
jmp 0x14005d4dd
movabs rbx, 0x8000000000
lea rcx, [rsp + 0x78]
call fcn.140003cf8
mov rax, rbx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140061ac0
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140003cd8
nop
int3