Function at 0x1400474c8
Capabilities:
Get disk information
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push r13
push r14
lea rbp, [rax - 0x6c8]
sub rsp, 0x7b0
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401543b0]
xor rax, rsp
mov qword [rbp + 0x6a0], rax
mov rsi, rdx
lea r13, str.base_stor_vssmodulescoord_srccoord.cxx
mov qword [rsp + 0x30], r13
lea rbx, str.CVssCoordinator::IsPagefileVolume
mov qword [rsp + 0x38], rbx
lea rdi, str.CORCOORC
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], 0xb37
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
xor r14d, r14d
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140003840
nop
xor r9d, r9d
mov r8d, 0x228
lea rdx, [rbp + 0x470]
lea ecx, [r14 + 0x12]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
je 0x1400475ed
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], 0xb41
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
lea r8, str.NtQuerySystemInformation_failed_with_status__d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400037d0
jmp 0x140047739
lea rdi, [rbp + 0x470]
cmp dword [rdi + 4], r14d
je 0x1400476d8
mov qword [rsp + 0x28], r14
lea rax, [0x1400e5388]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400fb150]
lea rcx, [rsp + 0x20]
call fcn.14003ea68
mov rdx, qword [rdi + 0x18]
lea rcx, [rsp + 0x20]
call fcn.140043f60
mov rcx, qword [rsp + 0x28]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140047637
cmp word [rcx + rax*2 - 2], 0x5c
je 0x14004765f
lea rdx, [0x1400e84e8]
lea rcx, [rsp + 0x20]
call fcn.140043f60
mov rcx, qword [rsp + 0x28]
mov r8d, 0x104
lea rdx, [rbp + 0x260]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNameW]
test eax, eax
je 0x1400476a2
mov r8d, 0x104
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x260]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x1400476a2
mov rdx, rsi
lea rcx, [rbp + 0x50]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1400476bf
mov rbx, rdi
mov eax, dword [rdi]
add rdi, rax
lea rcx, [rsp + 0x20]
call fcn.14003eb24
cmp rdi, rbx
jne 0x1400475f4
jmp 0x140047739
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.140013f94
mov bl, al
lea rcx, [rsp + 0x20]
call fcn.14003eb24
jmp 0x140047746
mov qword [rsp + 0x30], r13
lea rax, str.CVssCoordinator::IsPagefileVolume
mov qword [rsp + 0x38], rax
lea rax, str.CORCOORC
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0xb4d
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r8, str.NtQuerySystemInformation_reports_no_pagefile
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400037d0
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140013f94
mov bl, al
lea rcx, [rbp - 0x20]
call fcn.140003960
mov al, bl
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.14001ff30
lea r11, [rsp + 0x7b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret