Function at 0x140009f20
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0xf0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rsp + 0xd8], rax
test cl, cl
jne 0x140009fa7
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.1400080c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
xorps xmm6, xmm6
movdqu xmmword [rsp + 0x30], xmm6
xor r15d, r15d
mov r14d, r15d
mov qword [rsp + 0x40], r15
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ebx, 0x41
psrldq xmm6, 8
movq rdi, xmm6
nop word [rax + rax]
cmp bx, 0x5a
ja 0x14000a0a5
test sil, 1
je 0x14000a097
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov word [rsp + 0x4a], r15w
cmp rdi, r14
je 0x14000a036
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140005560
add rdi, 0x20
mov qword [rsp + 0x38], rdi
jmp 0x14000a052
lea r8, [rsp + 0x48]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000a840
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14000a097
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a092
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a092
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050f60
shr esi, 1
inc bx
jmp 0x140009fe0
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 rsi, rax
movabs rax, 0x20c49ba5e353f7cf
imul rbx
sar rdx, 7
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
sub rsi, rdx
mov rbx, qword [rsp + 0x30]
lea r12, [0x140059210]
movabs r13, 0xd6bf94d5e57a42bd
lea r14, [0x140059278]
cmp rbx, rdi
je 0x14000a2fd
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000a10e
mov r8, qword [rbx]
cmp rdx, 1
jne 0x14000a13a
mov rcx, r12
sub r8, r12
nop word [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14000a13a
add rcx, 2
sub rdx, 1
jne 0x14000a120
add rbx, 0x20
jmp 0x14000a0f4
lea r8, [0x140059214]
mov rdx, rbx
lea rcx, [rsp + 0xb8]
call fcn.140007f80
nop
lea r8, str.System_Volume_Information
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x70]
call fcn.140007f80
nop
lea rcx, [rsp + 0x70]
call fcn.140009e00
test al, al
je 0x14000a2dc
lea rcx, [rsp + 0x70]
call fcn.140009e00
test al, al
je 0x14000a1fa
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 7
cmova rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000a1fa
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x5c]
shr rax, 0x20
mov dword [rsp + 0x24], eax
mov rax, r13
mul qword [rsp + 0x20]
shr rdx, 0x17
movabs rax, 0x2b6109100
sub rdx, rax
jmp 0x14000a1fd
mov rdx, r15
mov qword [rsp + 0x28], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0xb0], eax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
test eax, eax
jne 0x14000a2dc
nop dword [rax]
cmp qword [rsp + 0x28], rsi
jle 0x14000a2dc
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.1400064a0
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000a26b
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140008ee0
lea rdx, str._was_installed_at:
mov rcx, rax
call fcn.1400064a0
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], r14
mov rcx, r14
nop dword [rax + rax]
add rcx, 2
mov qword [rsp + 0x58], rcx
cmp word [rcx], 0
jne 0x14000a2a0
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14000a580
lea rdx, str.._Ban_the_user.
mov rcx, rax
call fcn.1400064a0
lea rdx, [0x140008380]
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
lea rcx, [rsp + 0x70]
call fcn.1400058e0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400058e0
add rbx, 0x20
jmp 0x14000a0f4
lea rcx, [rsp + 0x30]
call fcn.14000a480
nop
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140050f40
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
ret
movzx ecx, dl
jmp 0x140009f20