Function at 0x140007720
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
sub rsp, 0x4a0
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400c4080]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov r8d, 0x104
lea rdx, [rbp + 0x200]
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140007b60
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea edx, [rbx + 7]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
lea rdx, [0x1400ac630]
xorps xmm1, xmm1
lea rcx, [rbp + 0x40]
xor r8d, r8d
movups xmmword [rbp + 0x40], xmm0
movdqu xmmword [rbp + 0x50], xmm1
call fcn.14001ea80
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1400077df
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077da
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007ea9
call fcn.140095770
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x32aed5472a38f270
movdqa xmm0, xmmword [0x1400b4830]
movabs rdx, 0x8a8630e3335aa660
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], bl
movabs rdi, 0x5ddca7020a65df2b
mov qword [rbp], rax
movabs rbx, 0xf57f0b2f37a264fc
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0x9b167f5b52c5448e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0xb3f9cd80da4d7c72
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
movabs rax, 0x2dd06b0c4e434196
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
movabs rax, 0x21d682f83c5fedb2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
movabs rax, 0xd695b8e4b5205c15
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
movabs rax, 0x4cbe4b69222a27b6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1b8], rax
movabs rax, 0x18da2d6127188df
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
mov qword [rbp], rdx
lea rdx, [rbp + 0x120]
mov rax, qword [rbp]
movdqa xmm2, xmmword [rbp + 0x140]
vmovdqu ymm0, ymmword [rbp + 0x1a0]
vpxor ymm1, ymm0, ymmword [rbp + 0x120]
mov qword [rbp + 0x1c8], rax
vpxor xmm2, xmm2, xmmword [rbp + 0x1c0]
vmovdqa ymmword [rbp + 0x120], ymm1
vmovdqa xmmword [rbp + 0x140], xmm2
vzeroupper
call fcn.140006660
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 4
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
lea rdx, [0x1400ac630]
xorps xmm1, xmm1
lea rcx, [rbp + 0x60]
xor r8d, r8d
movups xmmword [rbp + 0x60], xmm0
movdqu xmmword [rbp + 0x70], xmm1
call fcn.14001ea80
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1400079cd
mov rcx, qword [rbp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400079c8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007ea9
call fcn.140095770
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x20]
movdqa xmm0, xmmword [0x1400b4830]
movabs rax, 0x5ddca7706517ad4e
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x20]
mov qword [rbp + 0x178], rax
pxor xmm0, xmmword [rbp + 0x170]
movdqa xmmword [rbp + 0x20], xmm0
call fcn.140006660
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
lea rdx, [0x1400ac630]
xorps xmm1, xmm1
lea rcx, [rbp + 0x80]
xor r8d, r8d
movups xmmword [rbp + 0x80], xmm0
movdqu xmmword [rbp + 0x90], xmm1
call fcn.14001ea80
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140007ac5
mov rcx, qword [rbp + 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ac0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007ea9
call fcn.140095770
movdqa xmm0, xmmword [0x1400b4830]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x10]
movabs rax, 0x5ddca7020a65820b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x168], rax
pxor xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x10], xmm0
call fcn.140006660
lea rdx, [0x140006620]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
jmp 0x140007ee4
mov qword [rsp + 0x40], rbx
lea rdx, [rbp + 0x310]
mov qword [rsp + 0x38], rbx
lea rcx, [rbp + 0x200]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov r8d, 0x104
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath_s]
test eax, eax
je 0x140007ed1
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
lea rdx, [0x1400ac630]
xorps xmm1, xmm1
lea rcx, [rbp + 0xa0]
xor r8d, r8d
movups xmmword [rbp + 0xa0], xmm0
movdqu xmmword [rbp + 0xb0], xmm1
call fcn.14001ea80
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140007c23
mov rcx, qword [rbp + 0xa0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c1e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007ea9
call fcn.140095770
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0xc0]
movdqa xmm0, xmmword [0x1400b4830]
movabs rax, 0x32aed5472a38f270
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], bl
movabs rdi, 0x5ddca7020a65df2b
mov qword [rbp], rax
movabs rbx, 0xf57f0b2f37a264fc
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x810b624347d1448e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0xbee1d9949547327c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0x4cbe6b3202040998
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x1e0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1e8], rax
movabs rax, 0xd695b8e4b5205c15
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1f0], rax
movabs rax, 0x4cbe4b69222a27b6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1f8], rax
vmovdqu ymm0, ymmword [rbp + 0x1e0]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0xc0], ymm1
vzeroupper
call fcn.140006660
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 4
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
lea rdx, [0x1400ac630]
xorps xmm1, xmm1
lea rcx, [rbp + 0xe0]
xor r8d, r8d
movups xmmword [rbp + 0xe0], xmm0
movdqu xmmword [rbp + 0xf0], xmm1
call fcn.14001ea80
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140007db4
mov rcx, qword [rbp + 0xe0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007daf
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007ea9
call fcn.140095770
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x30]
movdqa xmm0, xmmword [0x1400b4830]
movabs rax, 0x5ddca7706517ad4e
movdqu xmmword [rbp + 0xf0], xmm0
mov byte [rbp + 0xe0], 0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x30]
mov qword [rbp + 0x188], rax
pxor xmm0, xmmword [rbp + 0x180]
movdqa xmmword [rbp + 0x30], xmm0
call fcn.140006660
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
lea rdx, [0x1400ac630]
xorps xmm1, xmm1
lea rcx, [rbp + 0x100]
xor r8d, r8d
movups xmmword [rbp + 0x100], xmm0
movdqu xmmword [rbp + 0x110], xmm1
call fcn.14001ea80
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140007eb5
mov rcx, qword [rbp + 0x100]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007eb0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007eb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140095770
movdqa xmm0, xmmword [0x1400b4830]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], 0
jmp 0x140007adc
lea rcx, [rbp + 0x310]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
sete al
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140095750
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret