Function at 0x1400654d0
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 - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov rsi, qword [rbp + 0x4e0]
mov qword [rsp + 0x60], rsi
mov rbx, qword [rbp + 0x4e8]
mov qword [rsp + 0x60], rbx
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x90]
call fcn.1400b1de0
mov r8d, 0x104
lea rdx, [rbp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x140065757
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1400b1de0
mov r8d, 0x104
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x140065712
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
lea rax, [rbp + 0x2a0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1400655b0
lea rdx, [rbp + 0x2a0]
lea rcx, [rsp + 0x68]
call fcn.1400075e0
nop
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1400656b9
mov r14d, 0x100
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1400b1de0
lea rcx, [0x1400ee070]
lea rdx, [0x1400ee072]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, r14w
jae 0x140065663
movzx eax, al
mov byte [rbp + rax - 0x70], 1
add rcx, 2
cmp rcx, rdx
jne 0x140065610
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 0x14006565b
cmp byte [rbp + rax - 0x70], 0
je 0x14006565b
cmp rdx, rbx
je 0x1400656b9
sub rdx, 2
jmp 0x140065640
sub rdx, rbx
sar rdx, 1
jmp 0x1400656c0
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, [0x1400ee070]
cmp r9w, r8w
je 0x1400656ae
cmp rax, 1
je 0x14006565b
dec rax
add rcx, 2
cmp word [rcx], r8w
jne 0x140065696
test rcx, rcx
je 0x14006565b
cmp rdx, rbx
je 0x1400656b9
sub rdx, 2
jmp 0x140065680
mov rdx, 0xffffffffffffffff
inc rdx
xor r8d, r8d
lea rcx, [rsp + 0x68]
call fcn.1400197d0
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140007ec0
nop
lea rcx, [rsp + 0x68]
call fcn.140008480
mov rax, rsi
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140081ef0
lea r11, [rsp + 0x5c0]
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 + 0x90]
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140066300
lea rdx, [0x140114190]
lea rcx, [rsp + 0x38]
call fcn.140084768
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 + 0x60]
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140050d20
lea rdx, [0x140114190]
lea rcx, [rsp + 0x38]
call fcn.140084768
int3