Function at 0x1400195a0
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x49a0]
mov eax, 0x4aa0
call fcn.140066020
sub rsp, rax
mov rax, qword [0x1400a3310]
xor rax, rsp
mov qword [rbp + 0x4990], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x61a
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 8
jb 0x1400195f7
mov rbx, qword [rbx]
mov r8d, 0x30d
lea rdx, [rbp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
xor r13d, r13d
mov dword [rsp + 0x50], r13d
call qword [sym.imp.UpdateRingSettings.dll_class_IUpdateRingSettingsManager____ptr64___cdecl_GetUpdateRingSettingsManager_void_]
mov rcx, rax
mov rdx, qword [rax]
mov rax, qword [rdx + 0x38]
mov edx, 0x392
call qword [case.0x140023da2.8]
mov r15b, al
mov rdx, qword [rdi]
mov rax, qword [rdx + 0xe0]
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [case.0x140023da2.8]
cmp al, 1
sete r12b
mov esi, r13d
mov ebx, r13d
jne 0x1400199c0
lea rcx, [rbp + 0x60]
test r15b, r15b
je 0x1400198d6
lea rdx, [rsp + 0x50]
call fcn.14001f068
mov esi, eax
mov ebx, dword [rsp + 0x50]
test eax, eax
js 0x1400198e7
cmp ebx, 3
jne 0x1400198e7
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.LoggingPlatform.DLL_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_StripPrivateInfoFromString_wchar_t_const____ptr64_]
nop
cmp qword [rax + 0x18], 8
jb 0x1400196a1
mov rax, qword [rax]
lea rcx, str.volume
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x50], 0xc
mov qword [rbp - 0x40], rax
or rdi, 0xffffffffffffffff
test rax, rax
je 0x1400196cf
mov rcx, rdi
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x1400196c3
jmp 0x1400196d2
mov rcx, r13
mov qword [rbp - 0x38], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x6fdf6b52
lea rax, [0x140083028]
mov qword [rsp + 0x20], rax
lea r9, str.FileSystemUtil::GetVolumeType
mov r8d, 0x8f9
lea rdx, [0x1400840f0]
lea rcx, [rbp - 0x80]
call qword [sym.imp.LoggingPlatform.DLL_public:_void___cdecl_StructuredEvent::constructor_char_const____ptr64__int__char_const____ptr64__struct__GUID_const____ptr64__unsigned_int__unsigned_int__unsigned_int__unsigned_int____ptr64]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call qword [sym.imp.LoggingPlatform.DLL_void___cdecl_LoggingWriteStructuredEvent_struct_StructuredEvent_const____ptr64__struct_StructuredEventParameter__const___ptr64_]
call qword [sym.imp.LoggingPlatform.DLL_void___cdecl_LoggingRotateIfNeeded_void_]
nop
lea rcx, [rsp + 0x58]
call fcn.140004738
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
mov r14d, 0x32
mov r8d, r14d
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x140019804
xor edx, edx
mov r8d, 0x3cf0
lea rcx, [rbp + 0xca0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x78], r13d
lea r9, [rsp + 0x78]
mov r8d, r14d
lea rdx, [rbp + 0xca0]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], r13
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xca0]
call fcn.1400419f4
mov rdi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x48]
cmp rdi, r14
je 0x1400197f6
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400197d5
mov rcx, qword [rdi]
lea rdx, [rsp + 0x50]
call fcn.14001f068
mov esi, eax
test eax, eax
js 0x1400197ec
cmp dword [rsp + 0x50], 3
jne 0x1400197f2
add rdi, 0x20
jmp 0x1400197c3
mov ebx, dword [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14000c60c
jmp 0x1400198e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.LoggingPlatform.DLL_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_StripPrivateInfoFromString_wchar_t_const____ptr64_]
nop
cmp qword [rax + 0x18], 8
jb 0x140019827
mov rax, qword [rax]
lea rcx, str.volume
mov qword [rbp - 0x48], rcx
mov dword [rbp - 0x50], 0xc
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14001984e
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x140019842
jmp 0x140019851
mov rdi, r13
mov qword [rbp - 0x38], rdi
lea rax, str.errno
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x30], 3
mov dword [rbp - 0x20], r14d
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x2f7643d5
lea rax, [0x140083028]
mov qword [rsp + 0x20], rax
lea r9, str.FileSystemUtil::GetVolumeType
mov r8d, 0x916
lea rdx, [0x1400840f0]
lea rcx, [rbp - 0x80]
call qword [sym.imp.LoggingPlatform.DLL_public:_void___cdecl_StructuredEvent::constructor_char_const____ptr64__int__char_const____ptr64__struct__GUID_const____ptr64__unsigned_int__unsigned_int__unsigned_int__unsigned_int____ptr64]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call qword [sym.imp.LoggingPlatform.DLL_void___cdecl_LoggingWriteStructuredEvent_struct_StructuredEvent_const____ptr64__struct_StructuredEventParameter__const___ptr64_]
call qword [sym.imp.LoggingPlatform.DLL_void___cdecl_LoggingRotateIfNeeded_void_]
nop
lea rcx, [rsp + 0x58]
call fcn.140004738
jmp 0x1400198e7
lea rdx, [rbp - 0x50]
call fcn.14001f2d8
mov esi, eax
test eax, eax
cmovns ebx, dword [rbp - 0x50]
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.LoggingPlatform.DLL_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_StripPrivateInfoFromString_wchar_t_const____ptr64_]
nop
cmp qword [rax + 0x18], 8
jb 0x140019901
mov rax, qword [rax]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x20], r15b
mov r9, rax
call fcn.140014cd0
nop
lea rcx, [rsp + 0x58]
call fcn.140004738
mov eax, ebx
sub eax, 7
je 0x1400199b9
cmp eax, 1
jne 0x1400199c0
xor edx, edx
mov r8d, 0x61a
lea rcx, [rbp + 0x680]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x30d
lea rcx, [rbp + 0x680]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400199b2
xor edx, edx
mov r8d, 0x61a
lea rcx, [rbp + 0xca0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30d
lea rdx, [rbp + 0xca0]
lea rcx, [rbp + 0x680]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x1400199b2
mov r8d, 0x30c
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xca0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
neg eax
sbb eax, eax
neg eax
inc eax
jmp 0x140019a04
mov eax, 2
jmp 0x140019a04
mov eax, 3
jmp 0x140019a04
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.LoggingPlatform.DLL_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_StripPrivateInfoFromString_wchar_t_const____ptr64_]
nop
cmp qword [rax + 0x18], 8
jb 0x1400199da
mov rax, qword [rax]
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], ebx
mov byte [rsp + 0x28], r15b
mov byte [rsp + 0x20], r12b
mov r9, rax
call fcn.140014de0
nop
lea rcx, [rsp + 0x58]
call fcn.140004738
mov eax, 0xff
mov rcx, qword [rbp + 0x4990]
xor rcx, rsp
call fcn.1400652d0
mov rbx, qword [rsp + 0x4af0]
add rsp, 0x4aa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret