Function at 0x4cfcd0
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
sub rsp, 0x488
mov rax, qword [0x006443a8]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rbp
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x28], r13
xor r13d, r13d
cmp qword [rdx + 0x20], 8
mov rbx, r8
mov rbp, rdx
mov dword [rsp + 0x20], r13d
mov rsi, rcx
jb 0x4cfd22
mov rcx, qword [rdx + 8]
lea rdi, [rdx + 8]
jmp 0x4cfd29
lea rdi, [rdx + 8]
mov rcx, rdi
lea rdx, [rsp + 0x240]
mov r8d, 0x208
mov qword [rsp + 0x468], r12
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x4cfe17
cmp qword [rbx + 0x18], r13
jne 0x4cfdf4
mov r8, 0xffffffffffffffff
mov dx, 0x3a
mov rcx, rbp
call fcn.00445c00
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x4cfdde
test rax, rax
je 0x4cfdde
lea r12, [rax - 1]
cmp r12, qword [rbp + 0x18]
jbe 0x4cfd87
call fcn.0056a700
cmp qword [rbp + 0x20], 8
jb 0x4cfd91
mov rdi, qword [rdi]
movzx ecx, word [rdi + r12*2]
call fcn.0056c280
test eax, eax
je 0x4cfdde
cmp rbx, 1
jbe 0x4cfdbd
lea rdx, [rbx - 2]
mov rcx, rbp
call fcn.0045c440
movzx ecx, word [rax]
call fcn.0056c280
test eax, eax
jne 0x4cfdde
mov rdx, r12
mov rcx, rbp
call fcn.0045c440
movzx ecx, word [rax]
mov word [rsp + 0x242], r13w
mov word [rsp + 0x240], cx
jmp 0x4cfe17
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r13
mov word [rsi + 8], r13w
jmp 0x4cff81
cmp qword [rbx + 0x20], 8
jb 0x4cfe01
mov r8, qword [rbx + 8]
jmp 0x4cfe05
lea r8, [rbx + 8]
lea rcx, [rsp + 0x240]
mov edx, 0x104
call fcn.0056ad50
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x4cfe52
lea r9, [rsp + 0x240]
lea r8, str.._s
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.004ca390
xor eax, eax
lea rdi, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x2c], 0x5c
jne 0x4cfe73
mov word [rsp + rcx*2 + 0x2c], ax
mov qword [rsi + 0x20], 7
lea rbx, [rsi + 8]
lea rdi, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
mov qword [rsi + 0x18], r13
mov word [rbx], ax
mov rdx, qword [rsi + 0x20]
repne scasw ax, word [rdi]
cmp rdx, 8
not rcx
lea rdi, [rcx - 1]
jb 0x4cfeab
mov rax, qword [rbx]
jmp 0x4cfeae
mov rax, rbx
lea rcx, [rsp + 0x30]
cmp rcx, rax
jb 0x4cfeff
cmp rdx, 8
jb 0x4cfec3
mov rcx, qword [rbx]
jmp 0x4cfec6
mov rcx, rbx
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x30]
cmp rcx, rax
jbe 0x4cfeff
cmp rdx, 8
jb 0x4cfee1
mov rbx, qword [rbx]
lea r8, [rsp + 0x30]
mov r9, rdi
mov rdx, rsi
sub r8, rbx
mov rcx, rsi
sar r8, 1
call fcn.00546900
jmp 0x4cff81
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x4cff13
call fcn.0053cc80
mov rax, qword [rsi + 0x20]
cmp rax, rdi
jae 0x4cff3f
mov r8, qword [rsi + 0x18]
mov rdx, rdi
mov rcx, rsi
call fcn.005118a0
test rdi, rdi
je 0x4cff81
mov rdx, qword [rsi + 0x20]
cmp rdx, 8
jb 0x4cff57
mov rcx, qword [rbx]
jmp 0x4cff5a
test rdi, rdi
jne 0x4cff2b
cmp rax, 8
mov qword [rsi + 0x18], r13
jb 0x4cff51
mov rbx, qword [rbx]
mov word [rbx], r13w
jmp 0x4cff81
mov rcx, rbx
lea rbp, [rdi + rdi]
lea r8, [rsp + 0x30]
add rdx, rdx
mov r9, rbp
call fcn.00568a50
cmp qword [rsi + 0x20], 8
mov qword [rsi + 0x18], rdi
jb 0x4cff7c
mov rbx, qword [rbx]
mov word [rbx + rbp], r13w
mov r13, qword [rsp + 0x460]
mov r12, qword [rsp + 0x468]
mov rdi, qword [rsp + 0x470]
mov rbp, qword [rsp + 0x480]
mov rbx, qword [rsp + 0x4a8]
mov rax, rsi
mov rsi, qword [rsp + 0x478]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.00568fb0
add rsp, 0x488
ret