Function at 0x1400c347d
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x1400d4b10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x288]
mov rax, qword [0x1402b1058]
xor rax, rbp
mov qword [rbp + 0x228], rax
mov dword [rbp + 0x204], 0
lea rcx, [0x1402ce109]
call fcn.1400c7735
mov qword [rbp + 8], 0xffffffff80000002
lea rax, str.SOFTWAREMicrosoftAppVISV
mov qword [rbp + 0x28], rax
lea rax, str.c:program_filesmicrosoft_office
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 1
mov dword [rbp + 0x84], 0
mov qword [rbp + 0xa8], 0
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x64]
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
je 0x1400d4be2
mov edx, dword [rbp + 0xc4]
lea rcx, str._RpcClient::GetEndpoint____RegOpenKeyExW_failed_to_open_the_sub_key_HKLMSOFTWAREMicrosoftAppVISV
call fcn.1400c4d50
lea rax, [rbp + 0x84]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
je 0x1400d4c3c
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [rbp + 0xc4]
lea rcx, str._RpcClient::GetEndpoint____RegQueryValueExW_failed_to_query_the_size_of_the_value__c:program_filesmicrosoft_office__under_HKLMSOFTWAREMicrosoftAppVISV
call fcn.1400c4d50
mov eax, dword [rbp + 0x84]
mov qword [rbp + 0x218], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rbp + 0x220], rax
mov r8, qword [rbp + 0x218]
mov edx, 8
mov rcx, qword [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0x84]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
je 0x1400d4ceb
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xe8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [rbp + 0xc4]
lea rcx, str._RpcClient::GetEndpoint____RegQueryValueExW_failed_to_retrieve_the_value__c:program_filesmicrosoft_office__under_HKLMSOFTWAREMicrosoftAppVISV
call fcn.1400c4d50
lea rdx, str.RPC_ControlAppV_ISV_
mov rcx, qword [rbp + 0x250]
call fcn.1400c3d38
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0x204]
or eax, 1
mov dword [rbp + 0x204], eax
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x250]
call fcn.1400c73c0
lea rdx, str.APPV_VIRTMAN_NOTIFICATIONS
mov rcx, qword [rbp + 0x250]
call fcn.1400c73c0
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xe8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x250]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14025d8f0]
call fcn.1400c6808
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.1400c499a
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret