Function at 0x14001fa98
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x470
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, rdx
mov r15, rcx
mov qword [rbp + 0x70], rdx
lea r14, str.base_stor_vss_tools_vssagent_vsdoc.cpp
mov qword [rsp + 0x50], r14
lea r13, str.CVssXmlDiagDocument::GetResource
mov qword [rsp + 0x58], r13
lea rsi, str.TST__
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0xe27
mov dword [rsp + 0x6c], 9
mov dword [rsp + 0x70], 0xdc
xor r12d, r12d
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.14004058c
nop
mov rdi, qword [r15 + 0x280]
mov r9, qword [rdi + 8]
mov rcx, rdi
mov rax, rdi
cmp byte [r9 + 0x49], r12b
jne 0x14001fb84
lea rdx, [r9 + 0x18]
mov r8, rbx
call fcn.1400214a0
test al, al
je 0x14001fb6e
mov r9, qword [r9 + 0x10]
jmp 0x14001fb74
mov rdi, r9
mov r9, qword [r9]
cmp byte [r9 + 0x49], r12b
je 0x14001fb58
mov rcx, qword [r15 + 0x280]
mov rax, rcx
cmp rdi, rcx
je 0x14001fba0
lea r8, [rdi + 0x18]
mov rdx, rbx
call fcn.1400214a0
test al, al
mov rax, qword [r15 + 0x280]
je 0x14001fba3
mov rdi, rax
cmp rdi, rax
je 0x14001fc7a
mov rdi, qword [rdi + 0x40]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0xe30
mov dword [rsp + 0x6c], 9
mov dword [rsp + 0x70], 0xdc
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov rax, qword [rbx + 0x20]
cmp rax, 8
jb 0x14001fbfe
mov rax, qword [rbx + 8]
jmp 0x14001fc02
lea rax, [rbx + 8]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, str.Found_resource__p_for_string__s
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.140041324
nop
lea rcx, [rbp]
call fcn.1400406a0
nop
cmp qword [rbx + 0x20], 8
jb 0x14001fc3a
mov rcx, qword [rbx + 8]
call fcn.1400434b8
mov esi, 7
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x18], r12
mov word [rbx + 8], r12w
mov rax, rdi
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400438c0
mov rbx, qword [rsp + 0x4c0]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov esi, 7
mov qword [rbp + 0xe8], rsi
mov qword [rbp + 0xe0], r12
mov word [rbp + 0xd0], r12w
mov rax, qword [rbx + 0x20]
cmp rax, 8
jb 0x14001fca5
mov rcx, qword [rbx + 8]
jmp 0x14001fca9
lea rcx, [rbx + 8]
lea rdi, [rbx + 8]
lea rdx, [0x14005d520]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001fcd0
lea rdx, str._system32_vssvc.exe
jmp 0x14001fdc0
cmp qword [rbx + 0x20], 8
jb 0x14001fcdc
mov rcx, qword [rdi]
jmp 0x14001fcdf
mov rcx, rdi
lea rdx, str.VSS_PRIVATES
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14001fd1c
cmp qword [rbx + 0x20], 8
jb 0x14001fd02
mov rcx, qword [rdi]
jmp 0x14001fd05
mov rcx, rdi
lea rdx, str.VSS_TEST
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001fd2e
lea rdx, str._system32EventCreate.exe
mov r8d, 0x19
jmp 0x14001fdff
cmp qword [rbx + 0x20], 8
jb 0x14001fd3a
mov rcx, qword [rdi]
jmp 0x14001fd3d
mov rcx, rdi
lea rdx, str.ntbackup
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001fd60
lea rdx, str._system32_ntbackup.exe
jmp 0x14001fdf9
cmp qword [rbx + 0x20], 8
jb 0x14001fd6c
mov rcx, qword [rdi]
jmp 0x14001fd6f
mov rcx, rdi
lea rdx, str.Volsnap
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001fd93
lea rdx, str._system32drivers_volsnap.sys
lea r8d, [rax + 0x1d]
jmp 0x14001fdff
cmp qword [rbx + 0x20], 8
jb 0x14001fd9f
mov rcx, qword [rdi]
jmp 0x14001fda2
mov rcx, rdi
lea rdx, str.Application_Popup
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001fdc8
lea rdx, str._system32_ntdll.dll
mov r8d, 0x13
jmp 0x14001fdff
cmp qword [rbx + 0x20], 8
jb 0x14001fdd4
mov rcx, qword [rdi]
jmp 0x14001fdd7
mov rcx, rdi
lea rdx, str.Service_Control_Manager
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140020128
lea rdx, str._system32_netevent.dll
mov r8d, 0x16
lea rcx, [rbp + 0xc8]
call fcn.140021944
mov edx, 0x104
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x14002017e
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xb8], r12
mov word [rbp + 0xa8], r12w
lea rax, [rbp + 0x150]
or r13, 0xffffffffffffffff
mov r8, r13
inc r8
cmp word [rax + r8*2], r12w
jne 0x14001fe4f
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0xa0]
call fcn.140021944
nop
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x78]
call fcn.140022910
nop
cmp qword [rbp + 0xc0], 8
jb 0x14001fe9b
mov rcx, qword [rbp + 0xa8]
call fcn.1400434b8
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xb8], r12
mov word [rbp + 0xa8], r12w
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rcx, qword [rbp + 0x80]
xor edx, edx
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x1400200d1
mov qword [rbp + 0x140], rsi
mov qword [rbp + 0x138], r12
mov word [rbp + 0x128], r12w
mov r9, r13
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x120]
call fcn.140021598
mov qword [rbp + 0x148], r14
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x108], r12
mov word [rbp + 0xf8], r12w
mov r9, r13
xor r8d, r8d
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xf0]
call fcn.140021598
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x118], rax
lea rcx, [r15 + 0x278]
lea r8, [rbp + 0xf0]
lea rdx, [rsp + 0x40]
call fcn.14002085c
nop
cmp qword [rbp + 0x110], 8
jb 0x14001ff84
mov rcx, qword [rbp + 0xf8]
call fcn.1400434b8
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x108], r12
mov word [rbp + 0xf8], r12w
cmp qword [rbp + 0x140], 8
jb 0x14001ffb0
mov rcx, qword [rbp + 0x128]
call fcn.1400434b8
lea rax, str.base_stor_vss_tools_vssagent_vsdoc.cpp
mov qword [rsp + 0x50], rax
lea rax, str.CVssXmlDiagDocument::GetResource
mov qword [rsp + 0x58], rax
lea r8, str.TST__
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x68], 0xe57
mov dword [rsp + 0x6c], 9
mov dword [rsp + 0x70], 0xdc
mov dword [rbp - 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rcx, qword [rbp + 0x80]
cmp qword [rbx + 0x20], 8
jb 0x140020026
mov rax, qword [rdi]
jmp 0x140020029
mov rax, rdi
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, str.Loaded_resource__p_for_string__s_from__s
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.140041324
nop
cmp qword [rbp + 0x98], 8
jb 0x140020062
mov rcx, qword [rbp + 0x80]
call fcn.1400434b8
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0x90], r12
mov word [rbp + 0x80], r12w
cmp qword [rbp + 0xe8], 8
jb 0x14002008e
mov rcx, qword [rbp + 0xd0]
call fcn.1400434b8
mov qword [rbp + 0xe8], rsi
mov qword [rbp + 0xe0], r12
mov word [rbp + 0xd0], r12w
lea rcx, [rbp]
call fcn.1400406a0
nop
cmp qword [rbx + 0x20], 8
jb 0x1400200bd
mov rcx, qword [rdi]
call fcn.1400434b8
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x18], r12
mov word [rdi], r12w
mov rax, r14
jmp 0x14001fc4f
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xe53
lea r9, str.CVssXmlDiagDocument::GetResource
lea r8, str.TST__
lea rdx, str.base_stor_vss_tools_vssagent_vsdoc.cpp
lea rcx, [rsp + 0x50]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.140020b00
mov r9, rax
lea r8, str.LoadLibraryExW__s_
lea rcx, [rbp]
call fcn.140041e40
nop
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xe48
mov r9, r13
lea r8, str.TST__
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400400dc
mov rdx, rax
mov rcx, rbx
call fcn.140020b00
mov qword [rsp + 0x20], rax
lea r9, str.Unknown_event_source__s
mov r8d, 0x8000ffff
lea rcx, [rbp]
call fcn.140041508
int3
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xe4e
mov r9, r13
lea r8, str.TST__
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400400dc
lea r8, str.GetWindowsDirectory
mov rdx, rax
lea rcx, [rbp]
call fcn.140041e40
int3