Function at 0x1400199f0
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.140064040
sub rsp, rax
mov rax, qword [0x1400a2320]
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 0x140019a47
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.0x140024ad2.8]
mov r15b, al
mov rdx, qword [rdi]
mov rax, qword [rdx + 0xe0]
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [case.0x140024ad2.8]
cmp al, 1
sete r12b
mov esi, r13d
mov ebx, r13d
jne 0x140019e10
lea rcx, [rbp + 0x60]
test r15b, r15b
je 0x140019d26
lea rdx, [rsp + 0x50]
call fcn.14001fa88
mov esi, eax
mov ebx, dword [rsp + 0x50]
test eax, eax
js 0x140019d37
cmp ebx, 3
jne 0x140019d37
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 0x140019af1
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 0x140019b1f
mov rcx, rdi
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x140019b13
jmp 0x140019b22
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, [0x140080b80]
mov qword [rsp + 0x20], rax
lea r9, str.FileSystemUtil::GetVolumeType
mov r8d, 0x900
lea rdx, [0x140082a60]
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.1400048e8
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 0x140019c54
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.140040c00
mov rdi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x48]
cmp rdi, r14
je 0x140019c46
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140019c25
mov rcx, qword [rdi]
lea rdx, [rsp + 0x50]
call fcn.14001fa88
mov esi, eax
test eax, eax
js 0x140019c3c
cmp dword [rsp + 0x50], 3
jne 0x140019c42
add rdi, 0x20
jmp 0x140019c13
mov ebx, dword [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14000c7b4
jmp 0x140019d37
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 0x140019c77
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 0x140019c9e
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x140019c92
jmp 0x140019ca1
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, [0x140080b80]
mov qword [rsp + 0x20], rax
lea r9, str.FileSystemUtil::GetVolumeType
mov r8d, 0x91d
lea rdx, [0x140082a60]
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.1400048e8
jmp 0x140019d37
lea rdx, [rbp - 0x50]
call fcn.14001fcf8
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 0x140019d51
mov rax, qword [rax]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x20], r15b
mov r9, rax
call fcn.1400150a0
nop
lea rcx, [rsp + 0x58]
call fcn.1400048e8
mov eax, ebx
sub eax, 7
je 0x140019e09
cmp eax, 1
jne 0x140019e10
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 0x140019e02
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 0x140019e02
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 0x140019e54
mov eax, 2
jmp 0x140019e54
mov eax, 3
jmp 0x140019e54
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 0x140019e2a
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.1400151b0
nop
lea rcx, [rsp + 0x58]
call fcn.1400048e8
mov eax, 0xff
mov rcx, qword [rbp + 0x4990]
xor rcx, rsp
call fcn.140063300
mov rbx, qword [rsp + 0x4af0]
add rsp, 0x4aa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret