Function at 0x1400b027c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov sil, dl
mov rbx, rcx
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
or r13, 0xffffffffffffffff
mov dword [rsp + 0x40], 0x20a
mov edi, 1
test rbx, rbx
jne 0x1400b034a
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 0x208
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 1]
lea rax, [rbp + 0x170]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea r8, str.PackageFolder
and qword [rsp + 0x20], rbx
lea rdx, str.SoftwareMicrosoftOffice16.0ClickToRun
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400b0327
xor eax, eax
jmp 0x1400b055c
mov r9, r13
lea r8, str._rootoffice16_visio.exe
mov edx, 0x104
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
lea rbx, [rbp + 0x170]
lea rax, [rsp + 0x48]
neg sil
lea rdx, [0x1401b4d08]
mov qword [rsp + 0x20], rax
sbb r9d, r9d
mov rcx, 0xffffffff80000000
and r9d, 0x200
xor r8d, r8d
or r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b0320
mov rcx, qword [rsp + 0x48]
lea rsi, str.Visio.Drawing.15
mov rdx, rsi
mov r8, rbx
call fcn.1400b0b14
test eax, eax
jne 0x1400b054f
mov rcx, qword [rsp + 0x48]
lea rdx, str.Visio.Drawing.11
mov r8, rbx
call fcn.1400b0b14
test eax, eax
jne 0x1400b054f
mov rcx, qword [rsp + 0x48]
lea r9, [0x1401b4ce8]
mov r8, rbx
mov rdx, rsi
call fcn.1400b0c58
test eax, eax
jne 0x1400b054f
mov rcx, qword [rsp + 0x48]
lea r9, [0x1401b4cf8]
mov r8, rbx
lea rdx, str.Visio.Drawing.11
call fcn.1400b0c58
test eax, eax
jne 0x1400b054f
mov rcx, qword [rsp + 0x48]
lea rdx, [0x1401b4ce8]
call fcn.1400b09bc
test eax, eax
jne 0x1400b054f
mov rcx, qword [rsp + 0x48]
lea rdx, [0x1401b4ce8]
call fcn.1400b0a38
test eax, eax
jne 0x1400b054f
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], 0x20a
lea rdx, str..vsdx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x1400b054f
mov ebx, 0x105
lea rcx, [rsp + 0x60]
mov r8d, ebx
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x1400b054f
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], 0x20a
lea rdx, str..vsd
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x1400b054f
mov r8d, ebx
lea rdx, str.Visio.Drawing.11
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x1400b054f
mov r9, r13
lea r8, str.Visio.Drawing
mov edx, ebx
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov r9, r13
lea r8, [0x14017c6c4]
mov edx, ebx
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
mov r9, r13
lea r8, str.CurVer
mov edx, ebx
lea rcx, [rbp + 0x380]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], 0x20a
lea rdx, [rbp + 0x380]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x1400b054f
mov r8d, ebx
lea rcx, [rsp + 0x60]
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
neg eax
sbb ecx, ecx
and edi, ecx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140022430
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop rdi
pop rbp
ret