Function at 0x140065710
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x140117240]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov rsi, qword [rbp + 0x4d0]
mov qword [rsp + 0x58], rsi
mov rbx, qword [rbp + 0x4d8]
mov qword [rsp + 0x58], rbx
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x80]
call fcn.1400b2790
mov r8d, 0x104
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x140065997
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x290]
call fcn.1400b2790
mov r8d, 0x104
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x140065952
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
lea rax, [rbp + 0x290]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1400657f0
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x60]
call fcn.140007750
nop
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1400658f9
mov r14d, 0x100
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400b2790
lea rcx, [0x1400ee4c0]
lea rdx, [0x1400ee4c2]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, r14w
jae 0x1400658a3
movzx eax, al
mov byte [rbp + rax - 0x80], 1
add rcx, 2
cmp rcx, rdx
jne 0x140065850
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rdx, [rbx + rax*2]
movzx eax, word [rdx]
cmp ax, r14w
jae 0x14006589b
cmp byte [rbp + rax - 0x80], 0
je 0x14006589b
cmp rdx, rbx
je 0x1400658f9
sub rdx, 2
jmp 0x140065880
sub rdx, rbx
sar rdx, 1
jmp 0x140065900
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rdx, [rbx + rax*2]
mov r9d, 0x5c
nop
mov eax, 1
movzx r8d, word [rdx]
lea rcx, [0x1400ee4c0]
cmp r9w, r8w
je 0x1400658ee
cmp rax, 1
je 0x14006589b
dec rax
add rcx, 2
cmp word [rcx], r8w
jne 0x1400658d6
test rcx, rcx
je 0x14006589b
cmp rdx, rbx
je 0x1400658f9
sub rdx, 2
jmp 0x1400658c0
mov rdx, 0xffffffffffffffff
inc rdx
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.140028f20
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400081a0
nop
lea rcx, [rsp + 0x60]
call fcn.140008760
mov rax, rsi
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1400827b0
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Unable_to_retrieve_volume_mount_point_from_volume_path__
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 0x3c
lea r9, [rbp + 0x80]
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140066540
lea rdx, [0x140114310]
lea rcx, [rsp + 0x38]
call fcn.1400850a4
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Unable_to_retrieve_volume_path_from_directory__
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 0x33
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140050e80
lea rdx, [0x140114310]
lea rcx, [rsp + 0x38]
call fcn.1400850a4
int3