Function at 0x14006242c
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 qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400be278]
xor rax, rsp
mov qword [rbp + 8], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
movdqa xmm0, xmmword [0x140098cc0]
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, [rbp - 0x68]
call fcn.14003c5cc
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c54c
lea rcx, [rbp - 0x68]
call fcn.140003c2c
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
lea r13d, [r12 + 4]
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x1400626a4
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 0x140062512
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
movdqa xmm0, xmmword [0x140098cc0]
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.140003c94
nop
movdqa xmm0, xmmword [0x140098cc0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x48]
call fcn.140003c94
nop
call fcn.14000a0ec
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x28]
call fcn.14003c360
mov rbx, rax
movdqa xmm0, xmmword [0x140098cd0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r12b
lea r9, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
mov edx, 0x56
lea rcx, [rsp + 0x70]
call fcn.14003c658
mov dword [rbp - 0x70], 0x175
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000c9f4
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001274c
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001274c
mov r9, rbx
lea r8, [rbp - 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14003c4d0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14006261e
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062619
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062619
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400674a4
movdqa xmm0, xmmword [0x140098cd0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r12b
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x18]
call fcn.140003c2c
nop
lea rcx, [rbp - 0x48]
call fcn.140003c2c
nop
lea rcx, [rbp - 0x68]
call fcn.140003c2c
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 0x140062674
inc rax
jmp 0x14006267b
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bf638]
call fcn.140012ce4
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x2e2700000000
jmp 0x140062cf7
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x34], eax
lea r8, str.LogonRefresh
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.14003c5cc
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c54c
lea rcx, [rbp - 0x68]
call fcn.140003c2c
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x1400628c2
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 0x140062730
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140098cc0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x48]
call fcn.140003c94
nop
movdqa xmm0, xmmword [0x140098cc0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x68]
call fcn.140003c94
nop
call fcn.14000a0ec
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
call fcn.14003c360
mov rbx, rax
movdqa xmm0, xmmword [0x140098cd0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r12b
lea r9, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
mov edx, 0x56
lea rcx, [rsp + 0x70]
call fcn.14003c658
mov dword [rbp - 0x70], 0x184
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000c9f4
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001274c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001274c
mov r9, rbx
lea r8, [rbp - 0x68]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14003c4d0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14006283c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062837
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062837
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400674a4
movdqa xmm0, xmmword [0x140098cd0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r12b
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x18]
call fcn.140003c2c
nop
lea rcx, [rbp - 0x68]
call fcn.140003c2c
nop
lea rcx, [rbp - 0x48]
call fcn.140003c2c
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 0x140062892
inc rax
jmp 0x140062899
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bf638]
call fcn.140012ce4
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x302700000000
jmp 0x140062cf7
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshInterval
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.14003c5cc
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c54c
lea rcx, [rbp - 0x68]
call fcn.140003c2c
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140062adf
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 0x14006294d
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140098cc0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x48]
call fcn.140003c94
nop
movdqa xmm0, xmmword [0x140098cc0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x68]
call fcn.140003c94
nop
call fcn.14000a0ec
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
call fcn.14003c360
mov rbx, rax
movdqa xmm0, xmmword [0x140098cd0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r12b
lea r9, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
mov edx, 0x56
lea rcx, [rsp + 0x70]
call fcn.14003c658
mov dword [rbp - 0x70], 0x193
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000c9f4
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001274c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001274c
mov r9, rbx
lea r8, [rbp - 0x68]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14003c4d0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140062a59
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062a54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062a54
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400674a4
movdqa xmm0, xmmword [0x140098cd0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r12b
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x18]
call fcn.140003c2c
nop
lea rcx, [rbp - 0x68]
call fcn.140003c2c
nop
lea rcx, [rbp - 0x48]
call fcn.140003c2c
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 0x140062aaf
inc rax
jmp 0x140062ab6
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bf638]
call fcn.140012ce4
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x322700000000
jmp 0x140062cf7
mov eax, dword [r14 + 8]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.14003c5cc
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c54c
lea rcx, [rbp - 0x68]
call fcn.140003c2c
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140062cfc
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 0x140062b6a
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140098cc0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r12w
lea rdx, str.Couldnt_set_registry_key_value._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x48]
call fcn.140003c94
nop
movdqa xmm0, xmmword [0x140098cc0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x68]
call fcn.140003c94
nop
call fcn.14000a0ec
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
call fcn.14003c360
mov rbx, rax
movdqa xmm0, xmmword [0x140098cd0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r12b
lea r9, str.AppV::Client::Publishing::Configurations::ServerRegRecord::WriteRegServerRefreshPolicy
mov edx, 0x56
lea rcx, [rsp + 0x70]
call fcn.14003c658
mov dword [rbp - 0x70], 0x1a2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000c9f4
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001274c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001274c
mov r9, rbx
lea r8, [rbp - 0x68]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14003c4d0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140062c76
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062c71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062c71
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400674a4
movdqa xmm0, xmmword [0x140098cd0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r12b
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x18]
call fcn.140003c2c
nop
lea rcx, [rbp - 0x68]
call fcn.140003c2c
nop
lea rcx, [rbp - 0x48]
call fcn.140003c2c
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 0x140062ccc
inc rax
jmp 0x140062cd3
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bf638]
call fcn.140012ce4
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x342700000000
or rbx, rax
jmp 0x140062d06
movabs rbx, 0x8000000000
lea rcx, [rsp + 0x50]
call fcn.140003c2c
mov rax, rbx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140067150
add rsp, 0x110
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret