Function at 0x140060f20
Capabilities:
Get disk information

Disassembly:
push rdi
sub rsp, 0x4c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x4d0], rbx
mov rax, qword [0x140109010]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rax, r8
mov rbx, rdx
mov qword [rsp + 0x68], rdx
xor edi, edi
cmp qword [r8 + 0x10], rdi
jne 0x140060f82
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], 7
mov word [rdx], di
lea rdx, [0x1400b6790]
mov rcx, rbx
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
jmp 0x140061126
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov r9d, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64
nop
mov r8d, 2
lea rdx, [0x1400c4844]
lea rcx, [rsp + 0x40]
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x80], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140061037
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061032
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
movdqa xmm0, xmmword [0x1400cbd30]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x2a0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rcx, qword [rsp + 0x70]
mov dword [rsp + 0x38], 0x104
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rdx, [rsp + 0x90]
mov rcx, rbx
call sym.HwSettings.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64____ptr64
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140061126
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061121
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140061121
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140093ce8
mov rax, rbx
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140093940
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4c0
pop rdi
ret