Function at 0x140007f70
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, 0x100
mov rax, qword [0x140043040]
xor rax, rsp
mov qword [rbp + 0x27], 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.140003400
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 [rsp + 0x40], r12
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
lea ebx, [r12 + 0x41]
mov r15, qword [rsp + 0x38]
test dil, 1
je 0x1400080b8
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], 1
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], bx
mov word [rbp - 0x67], r12w
cmp r15, rsi
je 0x140008058
lea rdx, [rbp - 0x69]
mov rcx, r15
call fcn.140003010
add r15, 0x20
mov qword [rsp + 0x38], r15
jmp 0x140008078
lea r8, [rbp - 0x69]
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140009650
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x28], rsi
mov r15, qword [rsp + 0x38]
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x1400080b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400080b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000816c
call fcn.14002e2d0
shr edi, 1
inc bx
cmp bx, 0x5a
jbe 0x140008012
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 [rsp + 0x48], r8
mov rbx, qword [rsp + 0x30]
mov rsi, rbx
cmp rbx, r15
je 0x14000857b
lea r10, [0x1400325d8]
mov r11d, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
mov r14, qword [rsi + 0x10]
mov r8, rsi
mov r9, qword [rsi + 0x18]
cmp r9, 7
jbe 0x140008144
mov r8, qword [rsi]
cmp r14, 1
jne 0x140008189
mov rdx, r14
mov rax, r10
sub r8, r10
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140008173
add rax, 2
sub rdx, 1
jne 0x140008153
jmp 0x140008569
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 0x140008199
mov rax, rcx
sub rax, r14
cmp rax, 2
jb 0x140008602
mov r13, rsi
cmp r9, 7
jbe 0x1400081a5
mov r13, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], r12
lea r12, [r14 + 2]
mov ebx, 7
lea rdi, [rbp - 0x69]
cmp r12, rbx
jbe 0x14000823d
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x1400081db
mov rbx, rcx
lea rcx, [rdx + rdx]
jmp 0x1400081fc
cmp rbx, 0xa
cmovb rbx, r11
lea rcx, [rbx + 1]
cmp rcx, rdx
ja 0x140008608
add rcx, rcx
cmp rcx, 0x1000
jb 0x140008228
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140008608
mov rcx, rax
call fcn.14002e3f8
test rax, rax
je 0x1400085c6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140008239
test rcx, rcx
je 0x140008237
call fcn.14002e3f8
mov rdi, rax
jmp 0x140008239
xor edi, edi
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbx + rdi], 0x5c003a
xor edx, edx
mov word [rdi + r12*2], dx
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov r13, qword [rbp - 0x59]
sub rax, r13
cmp rax, 0x19
jb 0x140008614
lea r12, [rbp - 0x69]
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x71], rax
cmp qword [rbp - 0x51], 7
cmova r12, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rdx
mov qword [rbp - 0x31], rdx
lea r14, [r13 + 0x19]
mov ebx, 7
lea rdi, [rbp - 0x49]
cmp r14, rbx
jbe 0x14000834e
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x1400082dc
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14000830c
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000860e
add rcx, rcx
cmp rcx, 0x1000
jb 0x140008338
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000860e
mov rcx, rax
call fcn.14002e3f8
test rax, rax
je 0x1400085bf
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000834a
test rcx, rcx
je 0x140008347
call fcn.14002e3f8
mov rdi, rax
jmp 0x14000834a
mov rdi, rdx
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x31], rbx
lea rbx, [r13*2]
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.System_Volume_Information]
movups xmmword [rdi + rbx], xmm0
movups xmm1, xmmword [0x1400325f8]
movups xmmword [rdi + rbx + 0x10], xmm1
movups xmm0, xmmword [0x140032608]
movups xmmword [rdi + rbx + 0x20], xmm0
movzx eax, word [0x140032618]
mov word [rdi + rbx + 0x30], ax
xor r12d, r12d
mov word [rdi + r14*2], r12w
lea rcx, [rbp - 0x49]
call fcn.140007c80
test al, al
je 0x1400084cf
lea rcx, [rbp - 0x49]
call fcn.140007c80
test al, al
je 0x140008424
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp - 9], eax
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rcx, qword [rbp - 0x49]
lea r8, [rbp - 0x29]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x140008424
mov eax, dword [rbp - 0x15]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp - 0x15]
shr rax, 0x20
mov dword [rsp + 0x24], eax
movabs rax, 0xd6bf94d5e57a42bd
mul qword [rsp + 0x20]
shr rdx, 0x17
movabs rax, 0x2b6109100
sub rdx, rax
jmp 0x140008427
mov rdx, r12
mov qword [rbp - 0x79], rdx
cmp rdx, qword [rsp + 0x48]
jle 0x1400084cf
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 1]
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.140003670
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140008464
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.140004290
lea rdx, str._was_installed_at:
mov rcx, rax
call fcn.140003670
lea rcx, [rbp - 1]
mov qword [rbp - 0x29], rcx
lea rbx, [0x140032640]
mov qword [rbp - 0x21], rbx
mov rcx, rbx
add rcx, 2
cmp word [rcx], 0
jne 0x140008495
mov qword [rbp - 0x19], rcx
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140008b10
mov rcx, rax
lea rdx, [0x140032620]
call fcn.140003670
lea rdx, [0x140003850]
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 - 0x31]
cmp rdx, 7
jbe 0x14000850f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000850a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400085bf
call fcn.14002e2d0
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], r12w
mov rax, qword [rbp - 0x51]
cmp rax, 7
jbe 0x14000855c
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008557
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400085c6
call fcn.14002e2d0
mov r11d, 0xa
lea r10, [0x1400325d8]
add rsi, 0x20
cmp rsi, r15
jne 0x14000811c
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400085d5
mov rdx, r15
mov rcx, rbx
call fcn.140009130
mov rdx, qword [rsp + 0x28]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400085cd
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400085cd
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.14002e2d0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14002e2b0
lea r11, [rsp + 0x100]
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