Function at 0x14005f1f4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1400c1270]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x48], 4
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
lea r8, str.Enabled
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003a2d0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400184b0
lea r13d, [r12 + 2]
mov rdx, qword [rbp - 0x80]
lea r15d, [r12 + 8]
cmp rdx, r15
jb 0x14005f294
inc rdx
mov r8d, r13d
mov rcx, qword [rsp + 0x68]
call fcn.140002ec0
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], r15
cmovae r8, qword [rbp - 0x78]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005f44f
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], r15
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x58], rax
cmp qword [rbx + 0x18], r15
jb 0x14005f2f0
mov rbx, qword [rbx]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x78], r12
mov ebx, 7
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x68], r12w
lea r8d, [rbx + 0x44]
lea rdx, str.Couldnt_read_registry_string._n_winerr___1__n_sub_key:__2__n_value_name:__3_
lea rcx, [rsp + 0x68]
call fcn.1400030f0
nop
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x58], r12w
lea r8d, [rbx + 3]
lea rdx, str.Publishing
lea rcx, [rbp - 0x58]
call fcn.1400030f0
nop
call fcn.140007558
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x10]
call fcn.140039d08
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::ReadRegServerRefreshPolicy
lea rcx, [rbp - 0x38]
call fcn.140039f38
mov dword [rbp - 0x18], 0xf6
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140009480
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000edac
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000edac
mov r9, rbx
lea r8, [rbp - 0x58]
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140039eb4
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005f3c7
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x38]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x10]
call fcn.14003a5c4
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, r15
jb 0x14005f3ea
inc rdx
mov r8, r13
mov rcx, qword [rbp - 0x58]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r15
jb 0x14005f403
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x68]
call fcn.140002ec0
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 0x14005f41f
add rax, rbx
jmp 0x14005f426
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c2688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x1e2700000000
jmp 0x14005fa42
cmp dword [rsp + 0x44], r12d
setne al
mov byte [rdi], al
lea r8, str.LogonRefresh
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003a2d0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400184b0
mov rdx, qword [rbp - 0x80]
cmp rdx, r15
jb 0x14005f492
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x68]
call fcn.140002ec0
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], r15
cmovae r8, qword [rbp - 0x78]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005f64d
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], r15
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
cmp qword [rbx + 0x18], r15
jb 0x14005f4ee
mov rbx, qword [rbx]
mov qword [rsp + 0x58], rbx
mov qword [rbp - 0x48], r12
mov ebx, 7
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x58], r12w
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.1400030f0
nop
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x68], r12w
lea r8d, [rbx + 3]
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.1400030f0
nop
call fcn.140007558
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x10]
call fcn.140039d08
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::ReadRegServerRefreshPolicy
lea rcx, [rbp - 0x38]
call fcn.140039f38
mov dword [rbp - 0x18], 0x104
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140009480
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000edac
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000edac
mov r9, rbx
lea r8, [rsp + 0x68]
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140039eb4
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005f5c5
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x38]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x10]
call fcn.14003a5c4
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r15
jb 0x14005f5e9
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x68]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, r15
jb 0x14005f601
inc rdx
mov r8, r13
mov rcx, qword [rbp - 0x58]
call fcn.140002ec0
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 0x14005f61d
add rax, rbx
jmp 0x14005f624
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c2688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x202700000000
jmp 0x14005fa42
cmp dword [rsp + 0x44], r12d
setne al
mov byte [rdi + 1], al
lea r8, str.PeriodicRefreshInterval
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003a2d0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400184b0
mov rdx, qword [rbp - 0x80]
cmp rdx, r15
jb 0x14005f691
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x68]
call fcn.140002ec0
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], r15
cmovae r8, qword [rbp - 0x78]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005f84c
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], r15
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
cmp qword [rbx + 0x18], r15
jb 0x14005f6ed
mov rbx, qword [rbx]
mov qword [rsp + 0x58], rbx
mov qword [rbp - 0x48], r12
mov ebx, 7
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x58], r12w
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.1400030f0
nop
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x68], r12w
lea r8d, [rbx + 3]
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.1400030f0
nop
call fcn.140007558
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x10]
call fcn.140039d08
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::ReadRegServerRefreshPolicy
lea rcx, [rbp - 0x38]
call fcn.140039f38
mov dword [rbp - 0x18], 0x112
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140009480
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000edac
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000edac
mov r9, rbx
lea r8, [rsp + 0x68]
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140039eb4
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005f7c4
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x38]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x10]
call fcn.14003a5c4
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r15
jb 0x14005f7e8
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x68]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, r15
jb 0x14005f800
inc rdx
mov r8, r13
mov rcx, qword [rbp - 0x58]
call fcn.140002ec0
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 0x14005f81c
add rax, rbx
jmp 0x14005f823
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c2688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x222700000000
jmp 0x14005fa42
mov eax, dword [rsp + 0x44]
mov dword [rdi + 4], eax
lea r8, str.PeriodicRefreshIntervalUnit
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.14003a2d0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400184b0
mov rdx, qword [rbp - 0x80]
cmp rdx, r15
jb 0x14005f88c
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x68]
call fcn.140002ec0
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], r15
cmovae r8, qword [rbp - 0x78]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14005fa47
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], r15
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
cmp qword [rbx + 0x18], r15
jb 0x14005f8e8
mov rbx, qword [rbx]
mov qword [rsp + 0x58], rbx
mov qword [rbp - 0x48], r12
mov ebx, 7
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x58], r12w
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.1400030f0
nop
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x68], r12w
lea r8d, [rbx + 3]
lea rdx, str.Publishing
lea rcx, [rsp + 0x68]
call fcn.1400030f0
nop
call fcn.140007558
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x10]
call fcn.140039d08
mov rbx, rax
lea rdx, str.AppV::Client::Publishing::Configurations::ServerRegRecord::ReadRegServerRefreshPolicy
lea rcx, [rbp - 0x38]
call fcn.140039f38
mov dword [rbp - 0x18], 0x120
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140009480
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000edac
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000edac
mov r9, rbx
lea r8, [rsp + 0x68]
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140039eb4
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14005f9bf
inc rdx
mov r8d, ebx
mov rcx, qword [rbp - 0x38]
call fcn.140002ec0
nop
lea rcx, [rbp - 0x10]
call fcn.14003a5c4
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r15
jb 0x14005f9e3
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x68]
call fcn.140002ec0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, r15
jb 0x14005f9fb
inc rdx
mov r8, r13
mov rcx, qword [rbp - 0x58]
call fcn.140002ec0
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 0x14005fa17
add rax, rbx
jmp 0x14005fa1e
lea rax, str.admin_appman_appvclientpublishingconfigurations_serverregrecord.cpp
mov rdx, rax
lea rcx, [0x1400c2688]
call fcn.14000f3ec
shl rax, 0x34
mov ebx, dword [rsp + 0x40]
or rbx, rax
movabs rax, 0x242700000000
or rbx, rax
jmp 0x14005fa58
mov eax, dword [rsp + 0x44]
mov dword [rdi + 8], eax
movabs rbx, 0x8000000000
mov rdx, qword [rbp - 0x60]
cmp rdx, r15
jb 0x14005fa70
inc rdx
mov r8, r13
mov rcx, qword [rbp - 0x78]
call fcn.140002ec0
mov rax, rbx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400651a0
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret