Function at 0x140017404
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x650
mov qword [r11 - 0x500], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rsp + 0x648], rax
mov rsi, rcx
mov qword [rsp + 0x90], rcx
lea r15, str.base_stor_vss_tools_vssagent_vsdoc.cpp
mov qword [r11 - 0x5a8], r15
lea r12, str.CVssXmlDiagDocument::GetOSFiles
mov qword [r11 - 0x5a0], r12
lea r13, str.TST__
mov qword [r11 - 0x598], r13
mov dword [rsp + 0xe8], 0x9e8
mov r14d, 9
mov dword [r11 - 0x58c], r14d
mov dword [rsp + 0xf0], 0xdc
xor edi, edi
mov dword [rsp + 0x170], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x6f]
lea rcx, [r11 - 0x580]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x180]
call fcn.14004058c
nop
lea rax, str.Files
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.OSFiles
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.14001f25c
nop
lea rdx, str.__Getting_relevant_OS_logs...
lea rcx, [rsp + 0x180]
call fcn.140041860
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x140017529
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x140017546
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140017c7c
mov ebx, 0x104
mov edx, ebx
lea rcx, [rsp + 0x210]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140017bc0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x14001759d
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x1400175ba
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov qword [rsp + 0x20], rdi
lea r9, str.setupact.log
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140016e84
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x140017602
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x14001761f
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov qword [rsp + 0x20], rdi
lea r9, str.setupapi.log
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140016e84
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x140017667
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x140017684
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov qword [rsp + 0x20], rdi
lea r9, str.setuplog.txt
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140016e84
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x1400176cc
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x1400176e9
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov qword [rsp + 0x20], rdi
lea r9, str.certocm.log
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140016e84
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x140017731
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x14001774e
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov qword [rsp + 0x20], rdi
lea r9, str.comsetup.log
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140016e84
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x140017796
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x1400177b3
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov qword [rsp + 0x20], rdi
lea r9, str.dtcinstall.log
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140016e84
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x1400177fb
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x140017818
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov qword [rsp + 0x20], rdi
lea r9, str.iis6.log
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140016e84
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x140017860
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x14001787d
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov qword [rsp + 0x20], rdi
lea r9, str.sqlstp.log
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140016e84
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x1400178c5
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test rcx, rcx
je 0x1400178e2
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov qword [rsp + 0x20], rdi
lea r9, str.sqlsp.log
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140016e84
mov qword [rsp + 0xc8], rdi
lea rax, vtable.CVssAutoString_class_CVssAutoCOMPtr_unsigned_short_int____ptr64__.0
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], 0xf003f
lea r8, str.SYSTEMCurrentControlSetServicesVSSDebugTracing
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xb0]
call fcn.14003bd34
test al, al
je 0x140017a76
lea rax, vtable.CVssAutoString_class_CVssAutoLocalPtr_unsigned_short_int____ptr64__.0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdi
lea r8, [rsp + 0x48]
lea rdx, str.TraceFile
lea rcx, [rsp + 0xb0]
call fcn.14003c670
mov r14, qword [rsp + 0x48]
test al, al
je 0x140017a61
mov qword [rsp + 0x50], rdi
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x420]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
nop dword [rax + rax]
test eax, eax
je 0x140017c03
mov r15, qword [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0xa8], rax
test rax, rax
jne 0x1400179e0
test r15, r15
jne 0x140017c55
mov rax, qword [rsp + 0x50]
mov word [rax], di
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x140017a0f
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x78], rcx
test rcx, rcx
je 0x140017a2c
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
lea rax, str.trace.saved.txt
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x420]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140016e84
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
test r14, r14
je 0x140017a76
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0xb0]
call fcn.14003cf2c
nop
jmp 0x140017a90
cmp dword [rsp + 0x188], edi
jge 0x140017b03
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x140017ac0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x78], rcx
test rcx, rcx
je 0x140017add
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov eax, dword [rsp + 0x188]
mov dword [rsp + 0x20], eax
lea r9, str.Error:_0x_08lx
lea r8, str.FAILURE_GetOSFiles
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14001f4fc
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x140017b2a
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x78], rcx
test rcx, rcx
je 0x140017b47
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14001f468
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140017b6d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140017b85
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140053f18]
nop
lea rcx, [rsp + 0x180]
call fcn.1400406a0
mov rcx, qword [rsp + 0x648]
xor rcx, rsp
call fcn.1400438c0
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0x9f4
mov r9, r12
mov r8, r13
mov rdx, r15
lea rcx, [rsp + 0xd0]
call fcn.1400400dc
lea r8, str.GetWindowsDirectory
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.140041e40
nop
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xa12
mov r9, r12
mov r8, r13
mov rdx, r15
lea rcx, [rsp + 0xd0]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002ff8
mov r9, rax
lea r8, str.GetFullPathName__s_
lea rcx, [rsp + 0x180]
call fcn.140041e40
mov dword [rsp + 0x80], 0x8007000e
lea rdx, [0x1400793e8]
lea rcx, [rsp + 0x80]
call sub.msvcrt.dll__CxxThrowException
int3