Function at 0x14000a460
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, 0x110
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor r15d, r15d
mov dword [rsp + 0x20], r15d
test cl, cl
jne 0x14000a4e8
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r15 + 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.1400088e0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r15 + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
xorps xmm6, xmm6
movdqu xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x38], r15
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ebx, 0x41
psrldq xmm6, 8
movq rdi, xmm6
nop dword [rax]
cmp bx, 0x5a
ja 0x14000a5f0
nop word [rax + rax]
test sil, 1
je 0x14000a5e6
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], bx
mov word [rsp + 0x62], r15w
cmp rdi, qword [rsp + 0x38]
je 0x14000a570
lea rdx, ds:[rsp + 0x60]
mov rcx, rdi
call fcn.140005a40
add rdi, 0x20
mov qword [rsp + 0x30], rdi
jmp 0x14000a58a
lea r8, ds:[rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.14000afe0
mov rdi, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14000a5d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a5cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a5cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
shr esi, 1
inc bx
jmp 0x14000a510
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 + 0x50], r8
mov rsi, qword [rsp + 0x28]
mov rax, rdi
mov qword [rsp + 0x58], rax
lea r11, [0x140052a60]
mov r10d, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
cmp rsi, rax
je 0x14000ab50
mov r14, qword [rsi + 0x10]
mov r8, rsi
mov r9, qword [rsi + 0x18]
cmp r9, 7
jbe 0x14000a67d
mov r8, qword [rsi]
nop dword [rax]
cmp r14, 1
jne 0x14000a782
mov rdx, r14
mov rax, r11
sub r8, r11
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x14000a6b2
add rax, 2
sub rdx, 1
jne 0x14000a693
add rsi, 0x20
mov rax, qword [rsp + 0x58]
jmp 0x14000a646
movabs rcx, 0x7ffffffffffffffe
movabs rdx, 0x7fffffffffffffff
mov r13, rsi
cmp r9, 7
jbe 0x14000a6d2
mov r13, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
lea r12, [r14 + 2]
mov ebx, 7
lea r15, [rsp + 0x60]
cmp r12, rbx
jbe 0x14000a727
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x14000a797
mov rbx, rcx
mov rcx, rdx
lfence
add rcx, rcx
call fcn.140006ec0
mov r15, rax
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x30]
mov qword ds:[rsp + 0x70], r12
mov qword [rsp + 0x78], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r13
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbx + r15], 0x5c003a
xor edx, edx
mov word [r15 + r12*2], dx
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
movabs r8, 0x7ffffffffffffffe
mov rax, r8
mov rcx, qword [rsp + 0x70]
sub rax, rcx
cmp rax, 0x19
jb 0x14000abed
nop
jmp 0x14000a7b1
mov rax, rcx
sub rax, r14
cmp rax, 2
jb 0x14000abf3
jmp 0x14000a6c6
cmp rbx, 0xa
cmovb rbx, r10
lea rcx, [rbx + 1]
cmp rcx, rdx
ja 0x14000abf8
jmp 0x14000a70f
lea r13, [rsp + 0x60]
mov r12, qword [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r13, r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], rdx
lea r15, [rcx + 0x19]
mov ebx, 7
lea r14, [rsp + 0x80]
cmp r15, rbx
jbe 0x14000a83f
mov rbx, r15
or rbx, 7
cmp rbx, r8
jbe 0x14000a955
mov rbx, r8
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140006ec0
mov r14, rax
mov qword [rsp + 0x80], rax
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x60]
mov qword ds:[rsp + 0x90], r15
mov qword [rsp + 0x98], rbx
lea rbx, [rcx + rcx]
mov r8, rbx
mov rdx, r13
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.System_Volume_Information]
movups xmmword [rbx + r14], xmm0
movups xmm1, xmmword [0x140052a80]
movups xmmword [rbx + r14 + 0x10], xmm1
movups xmm0, xmmword [0x140052a90]
movups xmmword [rbx + r14 + 0x20], xmm0
movzx eax, word [0x140052aa0]
mov word [rbx + r14 + 0x30], ax
xor ebx, ebx
mov word [r14 + r15*2], bx
or dword [rsp + 0x20], 2
lea rcx, [rsp + 0x80]
call fcn.14000a140
test al, al
je 0x14000aa76
lea rcx, [rsp + 0x80]
call fcn.14000a140
test al, al
je 0x14000a97e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 7
cmova rcx, qword [rsp + 0x80]
lea r8, [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000a97e
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xb4]
shr rax, 0x20
mov dword [rsp + 0x44], eax
movabs rax, 0xd6bf94d5e57a42bd
mul qword [rsp + 0x40]
shr rdx, 0x17
movabs rax, 0x2b6109100
sub rdx, rax
jmp 0x14000a981
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000abfe
jmp 0x14000a816
mov rdx, rbx
mov qword [rsp + 0x48], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
mov dword [rsp + 0xe8], eax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
test eax, eax
jne 0x14000aa76
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jle 0x14000aa76
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]
nop dword [rax + rax]
call fcn.140006a60
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14000a9f2
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.140009240
lea rdx, str._was_installed_at:
mov rcx, rax
call fcn.140006a60
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0xa0], rcx
lea rbx, [0x140052ac8]
mov qword [rsp + 0xa8], rbx
mov rcx, rbx
nop
add rcx, 2
mov qword [rsp + 0xb0], rcx
cmp word [rcx], 0
jne 0x14000aa30
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.14000ad20
lea rdx, str.._Ban_the_user.
mov rcx, rax
call fcn.140006a60
lea rdx, [0x140008ba0]
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 ds:[rsp + 0x98]
cmp rdx, 7
jbe 0x14000aacc
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aac7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000aac7
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
xor r15d, r15d
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], 7
mov word [rsp + 0x80], r15w
mov rax, qword [rsp + 0x78]
cmp rax, 7
jbe 0x14000ab35
lea rdx, [rax*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x14000ab2d
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ab2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400493f0
lea r11, [0x140052a60]
mov r10d, 0xa
add rsi, 0x20
mov rax, qword [rsp + 0x58]
jmp 0x14000a646
mov r14, qword [rsp + 0x28]
test r14, r14
je 0x14000abb6
mov rbx, r14
cmp r14, rdi
je 0x14000ab76
mov rcx, rbx
call fcn.140005dc0
add rbx, 0x20
cmp rbx, rdi
jne 0x14000ab65
mov rdx, qword [rsp + 0x38]
sub rdx, r14
and rdx, 0xffffffffffffffe0
mov rax, r14
cmp rdx, 0x1000
jb 0x14000abad
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000abad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400493f0
nop
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400493d0
lea r11, [rsp + 0x110]
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
call fcn.140003ea0
nop
call fcn.140003ea0
call fcn.140003df0
nop
nop
call fcn.140003df0
int3
movzx ecx, dl
jmp 0x14000a460