Function at 0x1400084d0
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, 0x130
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x118], 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 0x140008662
test dil, 1
je 0x140008658
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], 1
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], bx
mov word [rsp + 0x8a], r12w
cmp r14, rsi
je 0x1400085e9
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.140002ee0
add r14, 0x20
mov qword [rsp + 0x68], r14
jmp 0x14000860d
lea r8, [rsp + 0x88]
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140009c80
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x58], rsi
mov r14, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x140008658
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008653
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008653
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140033ec0
shr edi, 1
inc bx
jmp 0x140008581
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 0x140008b9f
mov rdx, qword [rdi + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400086d5
mov r8, qword [rdi]
cmp rdx, 1
jne 0x1400086fb
mov rax, rcx
sub r8, rcx
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x1400086fb
add rax, 2
sub rdx, 1
jne 0x1400086e1
add rdi, 0x20
jmp 0x1400086b4
mov rcx, qword [rdi + 0x10]
mov rax, rbx
sub rax, rcx
cmp rax, 2
jb 0x140008c2b
mov r9, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14000871c
mov r9, qword [rdi]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x88]
call fcn.140006330
or r15d, 1
mov dword [rsp + 0x40], r15d
mov r15, qword [rsp + 0x98]
mov rax, rbx
sub rax, r15
cmp rax, 0x19
jb 0x140008c31
lea r13, [rsp + 0x88]
cmp qword [rsp + 0xa0], 7
cmova r13, qword [rsp + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], r12
lea r12, [r15 + 0x19]
mov ebx, 7
lea rsi, [rsp + 0xa8]
cmp r12, rbx
jbe 0x14000884a
mov rbx, r12
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x1400087d5
mov rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140008805
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140008c36
add rcx, rcx
cmp rcx, 0x1000
jb 0x140008831
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140008c3b
mov rcx, rax
call fcn.140033fe8
test rax, rax
je 0x140008b0e
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140008842
test rcx, rcx
je 0x140008840
call fcn.140033fe8
mov rsi, rax
jmp 0x140008842
xor esi, esi
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], 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 + 0xa8]
call fcn.1400081e0
test al, al
je 0x140008a81
lea rcx, [rsp + 0xa8]
call fcn.1400081e0
test al, al
je 0x14000895c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
mov dword [rsp + 0xe8], eax
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 7
cmova rcx, qword [rsp + 0xa8]
lea r8, [rsp + 0xc8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000895c
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xdc]
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 0x14000895f
mov rdx, rbx
mov qword [rsp + 0x50], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm0
mov dword [rsp + 0x110], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
test eax, eax
jne 0x140008a43
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x50], rax
jle 0x140008acf
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 0x1400089cb
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 + 0xf0]
mov qword [rsp + 0xc8], rcx
lea rsi, [0x140038888]
mov qword [rsp + 0xd0], rsi
mov rcx, rsi
nop dword [rax + rax]
add rcx, 2
mov qword [rsp + 0xd8], rcx
cmp word [rcx], 0
jne 0x140008a10
lea rdx, [rsp + 0xc8]
mov rcx, rax
call fcn.140009140
lea rdx, str.._Ban_the_user.
mov rcx, rax
call fcn.1400032c0
jmp 0x140008a6f
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 0x140008a63
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 0x140008acf
lea rdx, str.___Could_not_detect_disk_bypasses_in_drive_letter:
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 + 0x88]
cmp qword [rsp + 0xa0], 7
cmova rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x98]
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]
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 7
jbe 0x140008b1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140033ec0
xor r12d, r12d
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], r12w
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x140008b85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140033ec0
lea r10, [0x140038824]
movabs rbx, 0x7ffffffffffffffe
add rdi, 0x20
jmp 0x1400086b4
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140008bf4
mov rdx, r14
mov rcx, rbx
call fcn.140009760
mov rsi, qword [rsp + 0x58]
sub rsi, rbx
and rsi, 0xffffffffffffffe0
mov rax, rbx
cmp rsi, 0x1000
jb 0x140008be8
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008be8
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.140033ec0
nop
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140033ea0
lea r11, [rsp + 0x130]
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