Function at 0x14005bf64
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1400bc178]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x44], r15d
mov dword [rsp + 0x48], 4
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
lea r8, str.Enabled
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140037af4
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400190e0
xor r8d, r8d
lea r12d, [r15 + 1]
mov dl, r12b
lea rcx, [rbp - 0x78]
call fcn.14000328c
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [r15 + 0x10]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005c1c8
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov qword [rsp + 0x58], rax
cmp qword [rbx + 0x18], 8
jb 0x14005c057
mov rbx, qword [rbx]
mov qword [rsp + 0x50], rbx
mov ebx, 7
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x68], r15
mov word [rbp - 0x78], r15w
lea r8d, [rbx + 0x44]
lea rdx, str.Couldnt_read_registry_string._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x78]
call fcn.140003394
nop
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x48], r15
mov word [rbp - 0x58], r15w
movzx eax, word [str.Publishing]
neg ax
sbb r8, r8
and r8d, 0xa
lea rdx, str.Publishing
lea rcx, [rbp - 0x58]
call fcn.140003394
nop
call fcn.140007e38
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x10]
call fcn.1400377c0
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::ReadRegServerRefreshPolicy
lea rcx, [rbp - 0x38]
call fcn.140003144
mov dword [rbp - 0x18], 0xf6
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000a520
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000e71c
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.14000e71c
mov r9, rax
lea r8, [rbp - 0x58]
mov edx, r12d
lea rcx, [rbp - 0x38]
call fcn.1400379a4
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005c132
inc rdx
mov r8, r12
mov rcx, qword [rbp - 0x38]
call fcn.1400029dc
mov qword [rbp - 0x20], SafeArrayGetDim
mov qword [rbp - 0x28], r15
mov byte [rbp - 0x38], r15b
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x10], rax
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp]
call fcn.14000328c
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x58]
call fcn.14000328c
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x78]
call fcn.14000328c
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 0x14005c198
add rax, r12
jmp 0x14005c19f
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bd408]
call fcn.14000fa54
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x1e2700000000
jmp 0x14005c78d
cmp dword [rsp + 0x44], r15d
setne al
mov byte [rdi], al
lea r8, str.LogonRefresh
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140037af4
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400190e0
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x78]
call fcn.14000328c
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005c3d5
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
cmp qword [rbx + 0x18], 8
jb 0x14005c264
mov rbx, qword [rbx]
mov qword [rsp + 0x58], rbx
mov ebx, 7
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x48], r15
mov word [rbp - 0x58], r15w
lea r8d, [rbx + 0x44]
lea rdx, str.Couldnt_read_registry_string._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x58]
call fcn.140003394
nop
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x68], r15
mov word [rbp - 0x78], r15w
movzx eax, word [str.Publishing]
neg ax
sbb r8, r8
and r8d, 0xa
lea rdx, str.Publishing
lea rcx, [rbp - 0x78]
call fcn.140003394
nop
call fcn.140007e38
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x10]
call fcn.1400377c0
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::ReadRegServerRefreshPolicy
lea rcx, [rbp - 0x38]
call fcn.140003144
mov dword [rbp - 0x18], 0x104
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000a520
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000e71c
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.14000e71c
mov r9, rax
lea r8, [rbp - 0x78]
mov edx, r12d
lea rcx, [rbp - 0x38]
call fcn.1400379a4
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005c33f
inc rdx
mov r8, r12
mov rcx, qword [rbp - 0x38]
call fcn.1400029dc
mov qword [rbp - 0x20], SafeArrayGetDim
mov qword [rbp - 0x28], r15
mov byte [rbp - 0x38], r15b
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x10], rax
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp]
call fcn.14000328c
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x78]
call fcn.14000328c
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x58]
call fcn.14000328c
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 0x14005c3a5
add rax, r12
jmp 0x14005c3ac
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bd408]
call fcn.14000fa54
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x202700000000
jmp 0x14005c78d
cmp dword [rsp + 0x44], r15d
setne al
mov byte [rdi + 1], al
lea r8, str.PeriodicRefreshInterval
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140037af4
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400190e0
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x78]
call fcn.14000328c
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005c5c5
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
cmp qword [rbx + 0x18], 8
jb 0x14005c472
mov rbx, qword [rbx]
mov qword [rsp + 0x58], rbx
mov ebx, 7
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x48], r15
mov word [rbp - 0x58], r15w
lea r8d, [rbx + 0x44]
lea rdx, str.Couldnt_read_registry_string._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x58]
call fcn.140003394
nop
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x68], r15
mov word [rbp - 0x78], r15w
movzx eax, word [str.Publishing]
neg ax
sbb r8, r8
and r8d, 0xa
lea rdx, str.Publishing
lea rcx, [rbp - 0x78]
call fcn.140003394
nop
call fcn.140007e38
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x10]
call fcn.1400377c0
mov rbx, rax
mov r8d, 0x112
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::ReadRegServerRefreshPolicy
lea rcx, [rbp - 0x38]
call fcn.140037814
mov rdi, rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000a520
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000e71c
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.14000e71c
mov r9, rax
lea r8, [rbp - 0x78]
mov edx, r12d
mov rcx, rdi
call fcn.1400379a4
nop
lea rcx, [rbp - 0x38]
call fcn.1400030f8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x10], rax
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp]
call fcn.14000328c
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x78]
call fcn.14000328c
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x58]
call fcn.14000328c
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 0x14005c595
add rax, r12
jmp 0x14005c59c
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400bd408]
call fcn.14000fa54
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x222700000000
jmp 0x14005c78d
mov eax, dword [rsp + 0x44]
mov dword [rdi + 4], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140037af4
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400190e0
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x78]
call fcn.14000328c
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005c792
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
cmp qword [rbx + 0x18], 8
jb 0x14005c65e
mov rbx, qword [rbx]
mov qword [rsp + 0x58], rbx
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x58]
call fcn.14000328c
mov r8d, 0x4b
lea rdx, str.Couldnt_read_registry_string._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rbp - 0x58]
call fcn.140003394
nop
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.14000328c
movzx eax, word [str.Publishing]
neg ax
sbb r8, r8
and r8d, 0xa
lea rdx, str.Publishing
lea rcx, [rbp - 0x78]
call fcn.140003394
nop
call fcn.140007e38
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x10]
call fcn.1400377c0
mov rbx, rax
mov r8d, 0x120
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::ReadRegServerRefreshPolicy
lea rcx, [rbp - 0x38]
call fcn.140037814
mov rdi, rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000a520
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000e71c
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.14000e71c
mov r9, rax
lea r8, [rbp - 0x78]
mov edx, r12d
mov rcx, rdi
call fcn.1400379a4
nop
lea rcx, [rbp - 0x38]
call fcn.1400030f8
nop
lea rax, vtable.AppV::LogFormatter.0
mov qword [rbp - 0x10], rax
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp]
call fcn.14000328c
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x78]
call fcn.14000328c
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rbp - 0x58]
call fcn.14000328c
call fcn.14005ac50
mov rbx, rax
mov eax, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x242700000000
or rbx, rax
jmp 0x14005c7a3
mov eax, dword [rsp + 0x44]
mov dword [rdi + 8], eax
movabs rbx, 0x8000000000
xor r8d, r8d
mov dl, r12b
lea rcx, [rsp + 0x68]
call fcn.14000328c
mov rax, rbx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140061880
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret