Function at 0x140008480
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 [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x120], rax
xor r12d, r12d
mov dword [rsp + 0x40], 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.140005860
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r12 + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
xorps xmm6, xmm6
movdqu xmmword [rsp + 0x60], xmm6
mov esi, r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x70], r12
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov ebx, 0x41
psrldq xmm6, 8
movq r14, xmm6
cmp bx, 0x5a
ja 0x140008612
test dil, 1
je 0x140008608
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], 7
mov word [rsp + 0x90], bx
mov word [rsp + 0x92], r12w
cmp r14, rsi
je 0x140008599
lea rdx, [rsp + 0x90]
mov rcx, r14
call fcn.140002ee0
add r14, 0x20
mov qword [rsp + 0x68], r14
jmp 0x1400085bd
lea r8, [rsp + 0x90]
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140009c50
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x58], rsi
mov r14, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xa8]
cmp rdx, 7
jbe 0x140008608
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008603
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008603
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140033280
shr edi, 1
inc bx
jmp 0x140008531
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 + 0x78], r8
mov rdi, qword [rsp + 0x60]
movabs rbx, 0x7ffffffffffffffe
lea r10, [0x140038824]
mov r15d, dword [rsp + 0x40]
lea rcx, [0x140038820]
cmp rdi, r14
je 0x140008b6e
mov rdx, qword [rdi + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140008685
mov r8, qword [rdi]
cmp rdx, 1
jne 0x1400086ab
mov rax, rcx
sub r8, rcx
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x1400086ab
add rax, 2
sub rdx, 1
jne 0x140008691
add rdi, 0x20
jmp 0x140008664
mov rcx, qword [rdi + 0x10]
mov rax, rbx
sub rax, rcx
cmp rax, 2
jb 0x140008bfa
mov r9, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400086cc
mov r9, qword [rdi]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0xd8]
call fcn.140006330
or r15d, 1
mov dword [rsp + 0x40], r15d
mov rax, rbx
mov r15, qword [rsp + 0xe8]
sub rax, r15
cmp rax, 0x19
jb 0x140008c00
lea r13, [rsp + 0xd8]
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0xf0], 7
cmova r13, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], r12
lea r12, [r15 + 0x19]
mov ebx, 7
lea rsi, [rsp + 0x90]
cmp r12, rbx
jbe 0x140008805
mov rbx, r12
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x140008790
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400087c0
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140008c05
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400087ec
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140008c0a
mov rcx, rax
call fcn.1400333a8
test rax, rax
je 0x140008add
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400087fd
test rcx, rcx
je 0x1400087fb
call fcn.1400333a8
mov rsi, rax
jmp 0x1400087fd
xor esi, esi
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.System_Volume_Information]
movups xmmword [rbx + rsi], xmm0
movups xmm1, xmmword [0x140038840]
movups xmmword [rbx + rsi + 0x10], xmm1
movups xmm0, xmmword [0x140038850]
movups xmmword [rbx + rsi + 0x20], xmm0
movzx eax, word [0x140038860]
mov word [rbx + rsi + 0x30], ax
xor ebx, ebx
mov word [rsi + r12*2], bx
mov r15d, dword [rsp + 0x40]
or r15d, 2
lea rcx, [rsp + 0x90]
call fcn.140008190
test al, al
je 0x140008a41
lea rcx, [rsp + 0x90]
call fcn.140008190
test al, al
je 0x140008917
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 7
cmova rcx, qword [rsp + 0x90]
lea r8, [rsp + 0xb0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x140008917
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xc4]
shr rax, 0x20
mov dword [rsp + 0x4c], eax
movabs rax, 0xd6bf94d5e57a42bd
mul qword [rsp + 0x48]
shr rdx, 0x17
movabs rax, 0x2b6109100
sub rdx, rax
jmp 0x14000891a
mov rdx, rbx
mov qword [rsp + 0x50], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0x108], xmm0
mov dword [rsp + 0x118], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
test eax, eax
jne 0x140008a03
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x50], rax
jle 0x140008a9e
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.1400032c0
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140008986
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140003f60
lea rdx, str._was_installed_at:
mov rcx, rax
call fcn.1400032c0
lea rcx, [rsp + 0xf8]
mov qword [rsp + 0xb0], rcx
lea rsi, [0x140038888]
mov qword [rsp + 0xb8], rsi
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
add rcx, 2
mov qword [rsp + 0xc0], rcx
cmp word [rcx], 0
jne 0x1400089d0
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.140009110
lea rdx, str.._Ban_the_user.
mov rcx, rax
call fcn.1400032c0
jmp 0x140008a2f
lea rdx, str.___Error_getting_local_time_for_drive
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400032c0
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140008a23
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140003f60
lea rdx, [0x140005ad0]
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]
jmp 0x140008a9e
lea rdx, str.___Path_does_not_exist:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400032c0
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 7
cmova rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0xa0]
mov rcx, rax
call fcn.140003f60
lea rdx, str.._Ignore_this_warning.
mov rcx, rax
call fcn.1400032c0
lea rdx, [0x140005ad0]
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 + 0xa8]
cmp rdx, 7
jbe 0x140008ae9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ae4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008ae4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140033280
xor r12d, r12d
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], 7
mov word [rsp + 0x90], r12w
mov rax, qword [rsp + 0xf0]
cmp rax, 7
jbe 0x140008b54
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140033280
lea r10, [0x140038824]
movabs rbx, 0x7ffffffffffffffe
add rdi, 0x20
jmp 0x140008664
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140008bc3
mov rdx, r14
mov rcx, rbx
call fcn.140009730
mov rsi, qword [rsp + 0x58]
sub rsi, rbx
and rsi, 0xffffffffffffffe0
mov rax, rbx
cmp rsi, 0x1000
jb 0x140008bb7
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008bb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, rbx
call fcn.140033280
nop
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140033260
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.140002290
nop
call fcn.140002290
call fcn.1400021f0
call fcn.1400021f0
int3