Function at 0x140001be0
Capabilities:
Get disk information
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14000f008]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov r14, rcx
mov qword [rsp + 0x60], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov ebx, 1
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r12d, eax
mov r15d, r13d
lea rdi, [0x14000abd0]
lea rsi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
movsd xmm7, qword [0x14000b180]
nop dword [rax + rax]
bt r12d, r15d
jae 0x14000204b
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x80], rdi
lea rax, [0x14000ab38]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or ebx, 2
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], rsi
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x68], rax
mov qword [rbp], r13
mov dword [rbp + 8], r13d
lea edx, [r15 + 0x41]
lea rcx, [rbp - 0x70]
call fcn.1400059e0
mov rcx, rax
lea rdx, [0x14000a63c]
call fcn.140005bb0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r13
mov r9d, 0xf
mov qword [rsp + 0x40], r9
mov byte [rsp + 0x28], 0
or ebx, 8
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x48], xmm0
mov ecx, dword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140001d6c
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x140001d6c
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x140001d9d
test cl, 4
jne 0x140001d93
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001d93
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x140001d9d
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140001db1
lea rcx, [rsp + 0x28]
call fcn.140005500
mov r9, qword [rsp + 0x40]
and ebx, 0xfffffff7
or ebx, 4
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x28]
cmp r9, 0x10
cmovae rcx, qword [rsp + 0x28]
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov edi, eax
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140001e20
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002095
call fcn.140007cd0
test edi, edi
je 0x140001ef4
mov rdi, qword [rsp + 0x70]
shr rdi, 0x1e
mov rax, qword [rsp + 0x78]
shr rax, 0x1e
mov rsi, rdi
sub rsi, rax
xorps xmm0, xmm0
js 0x140001e4c
cvtsi2sd xmm0, rsi
jmp 0x140001e64
mov rcx, rsi
shr rcx, 1
mov rax, rsi
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
xorps xmm1, xmm1
test rdi, rdi
js 0x140001e73
cvtsi2sd xmm1, rdi
jmp 0x140001e8b
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
divsd xmm0, xmm1
mulsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movaps xmm6, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._GB___Used:
call fcn.140005bb0
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._GB__
call fcn.140005bb0
mov rcx, rax
movaps xmm1, xmm6
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___double____ptr64]
mov rcx, rax
lea rdx, [0x14000a640]
call fcn.140005bb0
lea rsi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
or ebx, 0x20
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x48], xmm0
mov ecx, dword [rbp + 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140001f47
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x140001f47
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x140001f78
test cl, 4
jne 0x140001f6e
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001f6e
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x140001f78
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140001f87
lea rcx, [rsp + 0x28]
call fcn.140005500
and ebx, 0xffffffdf
or ebx, 0x10
mov dword [rsp + 0x20], ebx
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140001fbd
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [r14 + 8], 0x20
jmp 0x140001fcf
lea r8, [rsp + 0x28]
mov rcx, r14
call fcn.140006650
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140002008
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002002
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000209c
call fcn.140007cd0
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], rsi
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x68]
call fcn.140004e30
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rdi, [0x14000abd0]
inc r15d
cmp r15d, 0x1a
jl 0x140001c70
mov rax, r14
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.140007cb0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3