Function at 0x140011c8c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x3d8]
sub rsp, reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, qword [0x1400398a8]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov edx, 0x2d
lea rax, str.Entering
mov qword [rsp + 0x48], rax
lea r14, [0x140039ac0]
mov rsi, rcx
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x38]
mov ecx, reloc.Mso20Win32Client.dll_Ordinal_255
lea r12, str.Information
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 5]
mov qword [rsp + 0x40], r12
lea r9, str.HeartbeatAdapter::GetHeartbeatCacheFile
call fcn.140006d50
test rsi, rsi
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
and qword [rsi], 0
lea rcx, [rbp + 0x1a0]
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
xor edx, edx
mov r8d, ebx
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
lea rcx, [rbp - 0x70]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
mov qword [rsp + 0x30], rbx
lea r9d, [rbx + 1]
lea r8d, [rbx + 0x23]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je reloc.Mso20Win32Client.dll_Ordinal_255
lea rax, [rbp + 0x1a0]
or rdi, reloc.Mso20Win32Client.dll_Ordinal_255
mov r8, rdi
mov qword [rsp + 0x20], rax
lea r9, str._sMicrosoftOfficeHeartbeat
mov edx, reloc.Mso20Win32Client.dll_Ordinal_255
lea rcx, [rbp - 0x70]
call fcn.14000c92c
lea r8, [rsp + 0x68]
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je reloc.Mso20Win32Client.dll_Ordinal_255
cmp dword [rsp + 0x68], 0xffffffff
je reloc.Mso20Win32Client.dll_Ordinal_255
test byte [rsp + 0x68], 0x10
je reloc.Mso20Win32Client.dll_Ordinal_255
lea rax, [rbp + 0x1a0]
mov r8, rdi
lea r9, str._sMicrosoftOfficeHeartbeatHeartbeatCache.xml
mov qword [rsp + 0x20], rax
mov edx, reloc.Mso20Win32Client.dll_Ordinal_255
lea rcx, [rbp - 0x70]
call fcn.14000c92c
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140011244
mov edi, eax
test eax, eax
jns reloc.Mso20Win32Client.dll_Ordinal_255
mov rbx, qword [rsp + 0x30]
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, qword [rsp + 0x30]
lea r9, str.HeartbeatAdapter::GetHeartbeatCacheFile
mov qword [rsi], rax
mov edi, 0x32
lea rax, str.HeartbeatCacheFilePath
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rax
mov r8d, edi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], rax
lea esi, [rdi - 5]
lea rax, str.HeartbeatAdapter:_Cache_file_location
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], rax
mov edx, esi
lea rax, [rsp + 0x38]
mov ecx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.140006de0
and dword [rsp + 0x60], ebx
lea rax, str.HRESULT
mov qword [rsp + 0x58], rax
lea r9, str.HeartbeatAdapter::GetHeartbeatCacheFile
lea rax, [0x140039b20]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x50], rax
mov r8d, edi
lea rax, str.Exiting
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rax
mov edx, esi
lea rax, [rsp + 0x50]
mov ecx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.140007518
xor edi, edi
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov edi, reloc.Mso20Win32Client.dll_Ordinal_255
test rbx, rbx
je reloc.Mso20Win32Client.dll_Ordinal_255
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140003dd0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret