Function at 0x140008780
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 [0x140048040]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r15d, r15d
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 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.140003940
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov esi, r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x48], r15
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov ebx, 0x41
mov r12, qword [rsp + 0x40]
test dil, 1
je 0x1400088c8
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], r15w
cmp r12, rsi
je 0x140008868
lea rdx, [rbp - 0x69]
mov rcx, r12
call fcn.1400034a0
add r12, 0x20
mov qword [rsp + 0x40], r12
jmp 0x140008888
lea r8, [rbp - 0x69]
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.140009e60
mov rsi, qword [rsp + 0x48]
mov qword [rsp + 0x30], rsi
mov r12, qword [rsp + 0x40]
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x1400088c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400088c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000896b
call fcn.140030fd0
shr edi, 1
inc bx
cmp bx, 0x5a
jbe 0x140008822
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 - 0x79], r8
mov rbx, qword [rsp + 0x38]
mov rsi, rbx
cmp rbx, r12
je 0x140008d93
movabs r11, 0x7ffffffffffffffe
lea rdx, [0x1400356f0]
mov r14, qword [rsi + 0x10]
mov r9, rsi
mov r10, qword [rsi + 0x18]
cmp r10, 7
jbe 0x140008943
mov r9, qword [rsi]
cmp r14, 1
jne 0x140008974
mov rcx, r14
mov rax, rdx
sub r9, rdx
movzx edx, word [rax + r9]
cmp dx, word [rax]
jne 0x140008972
add rax, 2
sub rcx, 1
jne 0x140008952
jmp 0x140008d81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
jae 0x140008984
mov rax, r11
sub rax, r14
cmp rax, 2
jb 0x140008e1a
mov r13, rsi
cmp r10, 7
jbe 0x140008990
mov r13, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], r15
lea r15, [r14 + 2]
mov ebx, 7
lea rdi, [rbp - 0x69]
cmp r15, rbx
jbe 0x140008a40
mov rbx, r15
or rbx, 7
cmp rbx, r11
jbe 0x140008a07
mov rbx, r11
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140008a34
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140008e20
mov rcx, rax
call fcn.1400310f8
test rax, rax
je 0x140008dde
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140008a3c
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140008e20
add rcx, rcx
jne 0x1400089d2
xor edi, edi
jmp 0x140008a3c
call fcn.1400310f8
mov rdi, rax
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x59], r15
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 + r15*2], dx
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov r13, qword [rbp - 0x59]
sub rax, r13
cmp rax, 0x19
jb 0x140008e2c
lea r15, [rbp - 0x69]
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x71], rax
cmp qword [rbp - 0x51], 7
cmova r15, 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 0x140008b4c
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x140008b12
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140008b40
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140008e26
mov rcx, rax
call fcn.1400310f8
test rax, rax
je 0x140008dd7
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140008b48
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140008e26
add rcx, rcx
jne 0x140008add
mov rdi, rdx
jmp 0x140008b48
call fcn.1400310f8
mov rdi, rax
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x31], rbx
lea rbx, [r13*2]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.System_Volume_Information]
movups xmmword [rdi + rbx], xmm0
movups xmm1, xmmword [0x140035710]
movups xmmword [rdi + rbx + 0x10], xmm1
movups xmm0, xmmword [0x140035720]
movups xmmword [rdi + rbx + 0x20], xmm0
movzx eax, word [0x140035730]
mov word [rdi + rbx + 0x30], ax
xor r15d, r15d
mov word [rdi + r14*2], r15w
lea rcx, [rbp - 0x49]
call fcn.140008480
test al, al
je 0x140008cea
lea rcx, [rbp - 0x49]
call fcn.140008480
test al, al
je 0x140008c22
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 0x140008c22
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 0x140008c25
mov rdx, r15
mov qword [rsp + 0x28], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x1f], eax
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 1]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
mov rax, qword [rbp - 0x79]
cmp qword [rsp + 0x28], rax
jle 0x140008cea
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.140003720
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140008c78
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.1400046e0
lea rdx, str._was_installed_at:
mov rcx, rax
call fcn.140003720
lea rcx, [rbp - 1]
mov qword [rbp - 0x29], rcx
lea rbx, [0x140035758]
mov qword [rbp - 0x21], rbx
mov rcx, rbx
nop dword [rax]
add rcx, 2
cmp word [rcx], 0
jne 0x140008cb0
mov qword [rbp - 0x19], rcx
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140009330
mov rcx, rax
lea rdx, str.._Ban_the_user.
call fcn.140003720
lea rdx, [0x140003900]
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 0x140008d2a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008dd7
call fcn.140030fd0
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], r15w
mov rax, qword [rbp - 0x51]
cmp rax, 7
jbe 0x140008d77
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008dde
call fcn.140030fd0
movabs r11, 0x7ffffffffffffffe
add rsi, 0x20
cmp rsi, r12
jne 0x140008928
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140008ded
mov rdx, r12
mov rcx, rbx
call fcn.140009950
mov rdx, qword [rsp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140008de5
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008de5
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.140030fd0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140030fb0
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.140002300
nop
call fcn.140002260
nop
call fcn.140002260
int3
call fcn.140002300
int3