Function at 0x14000a520
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, 0x140
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rsp + 0x128], rax
xor r15d, r15d
mov dword [rsp + 0x20], r15d
test cl, cl
jne 0x14000a5a8
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.1400089c0
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 0x14000a6d3
nop word [rax + rax]
test sil, 1
je 0x14000a6c9
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], 1
mov qword [rsp + 0xd0], 7
mov word [rsp + 0xb8], bx
mov word [rsp + 0xba], r15w
cmp rdi, qword [rsp + 0x38]
je 0x14000a642
lea rdx, [rsp + 0xb8]
mov rcx, rdi
call fcn.140005be0
add rdi, 0x20
mov qword [rsp + 0x30], rdi
jmp 0x14000a65c
lea r8, [rsp + 0xb8]
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.14000b0c0
mov rdi, qword [rsp + 0x30]
mov rdx, qword [rsp + 0xd0]
cmp rdx, 8
jb 0x14000a6ac
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a6a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a6a7
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048710
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], 7
mov word [rsp + 0xb8], r15w
shr esi, 1
inc bx
jmp 0x14000a5d0
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 r12, qword [rsp + 0x28]
mov rax, rdi
mov qword [rsp + 0x58], rax
lea r11, [0x140051b30]
mov r10d, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
cmp r12, rax
je 0x14000ac30
mov r14, qword [r12 + 0x10]
mov r8, r12
mov r9, qword [r12 + 0x18]
cmp r9, 8
jb 0x14000a760
mov r8, qword [r12]
cmp r14, 1
jne 0x14000a875
mov rdx, r14
mov rcx, r11
sub r8, r11
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14000a792
add rcx, 2
sub rdx, 1
jne 0x14000a773
add r12, 0x20
mov rax, qword [rsp + 0x58]
jmp 0x14000a726
movabs rcx, 0x7ffffffffffffffe
movabs rdx, 0x7fffffffffffffff
mov r13, r12
cmp r9, 8
jb 0x14000a7b3
mov r13, qword [r12]
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xb0], r15
lea r15, [r14 + 2]
mov ebx, 7
lea rsi, [rsp + 0x98]
cmp r15, rbx
jbe 0x14000a816
mov rbx, r15
or rbx, 7
cmp rbx, rcx
jbe 0x14000a88f
mov rbx, rcx
mov rcx, rdx
lfence
add rcx, rcx
call fcn.140006ee0
mov rsi, rax
mov qword [rsp + 0x98], rax
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xb0], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rbx + rsi], 0x5c003a
xor edx, edx
mov word [rsi + r15*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 + 0xa8]
sub rax, rcx
cmp rax, 0x19
jb 0x14000accd
jmp 0x14000a8ae
mov rax, rcx
sub rax, r14
cmp rax, 2
jb 0x14000acd3
jmp 0x14000a7a6
cmp rbx, 0xa
cmovb rbx, r10
lea rcx, [rbx + 1]
cmp rcx, rdx
ja 0x14000acd8
jmp 0x14000a7fb
lea r15, [rsp + 0x98]
mov r13, qword [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae r15, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rdx
lea r14, [rcx + 0x19]
mov ebx, 7
lea rsi, [rsp + 0x78]
cmp r14, rbx
jbe 0x14000a942
mov rbx, r14
or rbx, 7
cmp rbx, r8
jbe 0x14000aa49
mov rbx, r8
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140006ee0
mov rsi, rax
mov qword [rsp + 0x78], rax
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x98]
mov qword ds:[rsp + 0x88], r14
mov qword [rsp + 0x90], rbx
lea rbx, [rcx + rcx]
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.System_Volume_Information]
movups xmmword [rsi + rbx], xmm0
movups xmm1, xmmword [0x140051b50]
movups xmmword [rsi + rbx + 0x10], xmm1
movups xmm0, xmmword [0x140051b60]
movups xmmword [rsi + rbx + 0x20], xmm0
movzx eax, word [0x140051b70]
mov word [rsi + rbx + 0x30], ax
xor r15d, r15d
mov word [rsi + r14*2], r15w
or dword [rsp + 0x20], 2
lea rcx, [rsp + 0x78]
call fcn.14000a200
test al, al
je 0x14000ab6c
lea rcx, [rsp + 0x78]
call fcn.14000a200
nop dword [rax]
test al, al
je 0x14000aa72
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm0
mov dword [rsp + 0xf8], eax
lea rcx, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rcx, qword [rsp + 0x78]
lea r8, [rsp + 0xd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000aa72
mov eax, dword [rsp + 0xec]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xec]
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 0x14000aa75
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000acde
jmp 0x14000a916
mov rdx, r15
mov qword [rsp + 0x48], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x110], xmm0
mov dword [rsp + 0x120], eax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x100]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
test eax, eax
jne 0x14000ab6c
mov rax, qword ds:[rsp + 0x50]
cmp qword [rsp + 0x48], rax
jle 0x14000ab6c
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.140006b20
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14000aaed
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.140009300
lea rdx, str._was_installed_at:
mov rcx, rax
call fcn.140006b20
lea rcx, [rsp + 0x100]
mov qword [rsp + 0x60], rcx
lea rbx, [0x140051b98]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
nop word [rax + rax]
add rcx, 2
mov qword [rsp + 0x70], rcx
cmp word [rcx], 0
jne 0x14000ab30
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14000ae00
lea rdx, str.._Ban_the_user.
mov rcx, rax
call fcn.140006b20
lea rdx, [0x140008c60]
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 [rsp + 0x90]
cmp rdx, 8
jb 0x14000abb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000abaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000abaf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048710
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], 7
mov word [rsp + 0x78], r15w
mov rax, qword [rsp + 0xb0]
cmp rax, 8
jb 0x14000ac15
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x14000ac0d
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ac0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.140048710
lea r11, [0x140051b30]
mov r10d, 0xa
add r12, 0x20
mov rax, qword [rsp + 0x58]
jmp 0x14000a726
mov rsi, qword [rsp + 0x28]
test rsi, rsi
je 0x14000ac96
mov rbx, rsi
cmp rsi, rdi
je 0x14000ac56
mov rcx, rbx
call fcn.140005e00
add rbx, 0x20
cmp rbx, rdi
jne 0x14000ac45
mov rdx, qword [rsp + 0x38]
sub rdx, rsi
and rdx, 0xffffffffffffffe0
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000ac8d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ac8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140048710
nop
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1400486f0
lea r11, [rsp + 0x140]
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.140004080
nop
call fcn.140004080
call fcn.140003fd0
nop
nop
call fcn.140003fd0
int3
movzx ecx, dl
jmp 0x14000a520