Function at 0x140035d7c
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 [0x14015d3e0]
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.1400bec34
nop
xor r9d, r9d
mov r8d, 0x228
lea rdx, [rbp + 0x470]
lea ecx, [r14 + 0x12]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
test eax, eax
je 0x140035ead
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_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
lea r8, str.NtQuerySystemInformation_failed_with_status__d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140009fb0
jmp 0x14003600b
lea rdi, [rbp + 0x470]
cmp dword [rdi + 4], r14d
je 0x140035faa
mov qword [rsp + 0x28], r14
lea rax, [0x1400f6250]
mov qword [rsp + 0x20], rax
lea rdx, [0x140109650]
lea rcx, [rsp + 0x20]
call fcn.140031474
mov rdx, qword [rdi + 0x18]
lea rcx, [rsp + 0x20]
call fcn.1400306e0
mov rcx, qword [rsp + 0x28]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140035ef7
cmp word [rcx + rax*2 - 2], 0x5c
je 0x140035f1f
lea rdx, [0x1401035b0]
lea rcx, [rsp + 0x20]
call fcn.1400306e0
mov rcx, qword [rsp + 0x28]
mov r8d, 0x104
lea rdx, [rbp + 0x260]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumePathNameW]
nop dword [rax + rax]
test eax, eax
je 0x140035f74
mov r8d, 0x104
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x260]
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
je 0x140035f74
mov rdx, rsi
lea rcx, [rbp + 0x50]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140035f91
mov rbx, rdi
mov eax, dword [rdi]
add rdi, rax
lea rcx, [rsp + 0x20]
call fcn.14002e4f8
cmp rdi, rbx
jne 0x140035eb4
jmp 0x14003600b
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.140031dac
mov bl, al
lea rcx, [rsp + 0x20]
call fcn.14002e4f8
jmp 0x140036018
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.140009fb0
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140031dac
mov bl, al
lea rcx, [rbp - 0x20]
call fcn.140009990
mov al, bl
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.1400164a0
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