Function at 0x14006158c
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 [0x1400bd288]
xor rax, rsp
mov qword [rbp + 8], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
movdqa xmm0, xmmword [0x140097d80]
movdqu xmmword [rsp + 0x60], xmm0
xor r12d, r12d
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.14003b61c
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c294
lea rcx, [rbp - 0x68]
call fcn.140003c44
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 0x1400617ff
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 0x14006166d
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
movdqa xmm0, xmmword [0x140097d80]
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.140003cac
nop
movdqa xmm0, xmmword [0x140097d80]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x48]
call fcn.140003cac
nop
call fcn.14000a10c
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x28]
call fcn.14003b330
mov rbx, rax
movdqa xmm0, xmmword [0x140097d90]
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.14003b7cc
mov dword [rbp - 0x70], 0x175
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000c764
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001245c
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001245c
mov r9, rbx
lea r8, [rbp - 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14003b4a0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140061779
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061774
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061774
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400667e4
movdqa xmm0, xmmword [0x140097d90]
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.140003c44
nop
lea rcx, [rbp - 0x48]
call fcn.140003c44
nop
lea rcx, [rbp - 0x68]
call fcn.140003c44
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 0x1400617cf
inc rax
jmp 0x1400617d6
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x2e2700000000
jmp 0x140061e52
movzx eax, byte [r14 + 1]
mov dword [rsp + 0x34], eax
lea r8, str.LogonRefresh
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.14003b61c
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c294
lea rcx, [rbp - 0x68]
call fcn.140003c44
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 0x140061a1d
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 0x14006188b
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140097d80]
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.140003cac
nop
movdqa xmm0, xmmword [0x140097d80]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x68]
call fcn.140003cac
nop
call fcn.14000a10c
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
call fcn.14003b330
mov rbx, rax
movdqa xmm0, xmmword [0x140097d90]
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.14003b7cc
mov dword [rbp - 0x70], 0x184
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000c764
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001245c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001245c
mov r9, rbx
lea r8, [rbp - 0x68]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14003b4a0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140061997
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061992
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061992
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400667e4
movdqa xmm0, xmmword [0x140097d90]
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.140003c44
nop
lea rcx, [rbp - 0x68]
call fcn.140003c44
nop
lea rcx, [rbp - 0x48]
call fcn.140003c44
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 0x1400619ed
inc rax
jmp 0x1400619f4
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x302700000000
jmp 0x140061e52
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshInterval
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.14003b61c
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c294
lea rcx, [rbp - 0x68]
call fcn.140003c44
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 0x140061c3a
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 0x140061aa8
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140097d80]
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.140003cac
nop
movdqa xmm0, xmmword [0x140097d80]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x68]
call fcn.140003cac
nop
call fcn.14000a10c
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
call fcn.14003b330
mov rbx, rax
movdqa xmm0, xmmword [0x140097d90]
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.14003b7cc
mov dword [rbp - 0x70], 0x193
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000c764
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001245c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001245c
mov r9, rbx
lea r8, [rbp - 0x68]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14003b4a0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140061bb4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061baf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061baf
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400667e4
movdqa xmm0, xmmword [0x140097d90]
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.140003c44
nop
lea rcx, [rbp - 0x68]
call fcn.140003c44
nop
lea rcx, [rbp - 0x48]
call fcn.140003c44
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 0x140061c0a
inc rax
jmp 0x140061c11
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x322700000000
jmp 0x140061e52
mov eax, dword [r14 + 8]
mov dword [rsp + 0x34], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.14003b61c
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001c294
lea rcx, [rbp - 0x68]
call fcn.140003c44
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 0x140061e57
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 0x140061cc5
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
movdqa xmm0, xmmword [0x140097d80]
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.140003cac
nop
movdqa xmm0, xmmword [0x140097d80]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rdx, str.Publishing
lea rcx, [rbp - 0x68]
call fcn.140003cac
nop
call fcn.14000a10c
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x28]
call fcn.14003b330
mov rbx, rax
movdqa xmm0, xmmword [0x140097d90]
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.14003b7cc
mov dword [rbp - 0x70], 0x1a2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000c764
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001245c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001245c
mov r9, rbx
lea r8, [rbp - 0x68]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14003b4a0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140061dd1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061dcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061dcc
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400667e4
movdqa xmm0, xmmword [0x140097d90]
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.140003c44
nop
lea rcx, [rbp - 0x68]
call fcn.140003c44
nop
lea rcx, [rbp - 0x48]
call fcn.140003c44
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 0x140061e27
inc rax
jmp 0x140061e2e
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400be678]
call fcn.140012a04
shl rax, 0x34
mov ebx, dword [rsp + 0x30]
or rbx, rax
movabs rax, 0x342700000000
or rbx, rax
jmp 0x140061e61
movabs rbx, 0x8000000000
lea rcx, [rsp + 0x50]
call fcn.140003c44
mov rax, rbx
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140066490
add rsp, 0x110
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret