Function at 0x140006bb0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140048040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r12d, r12d
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r12 + 6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Disk_Scanner__Running_checks_for_replaced_drives_bypass...__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400033f0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r12 + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov esi, r12d
mov qword [rsp + 0x28], r12
mov qword [rbp - 0x79], r12
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
lea ebx, [r12 + 0x41]
mov r14, qword [rsp + 0x38]
test dil, 1
je 0x140006cf6
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], 1
mov qword [rbp - 0x49], 7
mov word [rbp - 0x61], bx
mov word [rbp - 0x5f], r12w
cmp r14, rsi
je 0x140006c97
lea rdx, [rbp - 0x61]
mov rcx, r14
call fcn.140003000
add r14, 0x20
mov qword [rsp + 0x38], r14
jmp 0x140006cb6
lea r8, [rbp - 0x61]
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140007760
mov rsi, qword [rbp - 0x79]
mov qword [rsp + 0x28], rsi
mov r14, qword [rsp + 0x38]
mov rdx, qword [rbp - 0x49]
cmp rdx, 7
jbe 0x140006cf6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006cf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006da9
call fcn.140031aa0
shr edi, 1
inc bx
cmp bx, 0x5a
jbe 0x140006c51
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov r8, rax
movabs rax, 0x20c49ba5e353f7cf
imul rbx
sar rdx, 7
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
sub r8, rdx
mov qword [rbp - 0x71], r8
mov rbx, qword [rsp + 0x30]
mov rsi, rbx
cmp rbx, r14
je 0x1400071a5
lea r10, [0x1400365c0]
mov r11d, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
mov r15, qword [rsi + 0x10]
mov r8, rsi
mov r9, qword [rsi + 0x18]
cmp r9, 7
jbe 0x140006d81
mov r8, qword [rsi]
cmp r15, 1
jne 0x140006dc6
mov rdx, r15
mov rax, r10
sub r8, r10
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140006db0
add rax, 2
sub rdx, 1
jne 0x140006d90
jmp 0x140007193
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movabs rcx, 0x7ffffffffffffffe
movabs rdx, 0x7fffffffffffffff
jmp 0x140006dd6
mov rax, rcx
sub rax, r15
cmp rax, 2
jb 0x14000722c
mov r13, rsi
cmp r9, 7
jbe 0x140006de2
mov r13, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], r12
lea r12, [r15 + 2]
mov ebx, 7
lea rdi, [rbp - 0x61]
cmp r12, rbx
jbe 0x140006e7a
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x140006e18
mov rbx, rcx
lea rcx, [rdx + rdx]
jmp 0x140006e39
cmp rbx, 0xa
cmovb rbx, r11
lea rcx, [rbx + 1]
cmp rcx, rdx
ja 0x140007232
add rcx, rcx
cmp rcx, 0x1000
jb 0x140006e65
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140007232
mov rcx, rax
call fcn.140031bc8
test rax, rax
je 0x1400071f0
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140006e76
test rcx, rcx
je 0x140006e71
call fcn.140031bc8
jmp 0x140006e73
xor eax, eax
mov rdi, rax
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbx + rdi], 0x5c003a
xor r8d, r8d
mov word [rdi + r12*2], r8w
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rdx, qword [rbp - 0x51]
sub rax, rdx
cmp rax, 0x19
jb 0x14000723e
lea r13, [rbp - 0x61]
mov r15, qword [rbp - 0x61]
cmp qword [rbp - 0x49], 7
cmova r13, r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r8
mov qword [rbp - 0x29], r8
lea r12, [rdx + 0x19]
mov ebx, 7
lea rdi, [rbp - 0x41]
cmp r12, rbx
jbe 0x140006f90
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x140006f16
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140006f46
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140007238
add rcx, rcx
cmp rcx, 0x1000
jb 0x140006f76
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140007238
mov rcx, rax
call fcn.140031bc8
test rax, rax
je 0x1400071e9
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rdx, qword [rbp - 0x51]
jmp 0x140006f8c
test rcx, rcx
je 0x140006f89
call fcn.140031bc8
mov rdi, rax
mov rdx, qword [rbp - 0x51]
jmp 0x140006f8c
mov rdi, r8
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], rbx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.System_Volume_Information]
movups xmmword [rdi + rbx], xmm0
movups xmm1, xmmword [0x1400365e0]
movups xmmword [rdi + rbx + 0x10], xmm1
movups xmm0, xmmword [0x1400365f0]
movups xmmword [rdi + rbx + 0x20], xmm0
movzx eax, word [0x140036600]
mov word [rdi + rbx + 0x30], ax
xor eax, eax
mov word [rdi + r12*2], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
mov dword [rbp - 1], eax
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova rcx, qword [rbp - 0x41]
lea r8, [rbp - 0x21]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x140007044
mov eax, dword [rbp - 0xd]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp - 0xd]
shr rax, 0x20
mov dword [rsp + 0x24], eax
movabs rax, 0xd6bf94d5e57a42bd
mul qword [rsp + 0x20]
shr rdx, 0x17
movabs rax, 0x2b6109100
sub rdx, rax
xor r12d, r12d
jmp 0x14000704a
xor r12d, r12d
mov edx, r12d
mov qword [rbp - 0x69], rdx
cmp rdx, qword [rbp - 0x71]
jle 0x1400070fa
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 7]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea rdx, str.____Disk
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003660
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140007086
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.140004280
lea rdx, str._was_installed_at:
mov rcx, rax
call fcn.140003660
lea rcx, [rbp + 7]
mov qword [rbp - 0x21], rcx
lea rbx, [0x140036628]
mov qword [rbp - 0x19], rbx
mov rcx, rbx
nop word [rax + rax]
add rcx, 2
cmp word [rcx], 0
jne 0x1400070c0
mov qword [rbp - 0x11], rcx
lea rdx, [rbp - 0x21]
mov rcx, rax
call fcn.140007310
mov rcx, rax
lea rdx, [0x140036608]
call fcn.140003660
lea rdx, [0x140003840]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 7
jbe 0x14000713a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007135
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400071e9
call fcn.140031aa0
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r12w
mov rax, qword [rbp - 0x49]
cmp rax, 7
jbe 0x140007186
lea rdx, [rax*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14000717e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400071f0
mov rcx, r15
call fcn.140031aa0
mov r11d, 0xa
lea r10, [0x1400365c0]
add rsi, 0x20
cmp rsi, r14
jne 0x140006d59
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400071ff
mov rdx, r14
mov rcx, rbx
call fcn.1400076d0
mov rdx, qword [rsp + 0x28]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400071f7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call fcn.140031aa0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140031a80
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001f90
nop
call fcn.140001ef0
nop
call fcn.140001ef0
int3
call fcn.140001f90
int3