Function at 0x1401c77d0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140289cf0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14029a7f8], eax
jg 0x1401c7a85
xor r14d, r14d
lea ebp, [r14 + 7]
lea rsi, [0x14028aca8]
cmp qword [0x14028acb8], r14
jne 0x1401c79da
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], rbp
mov word [rsp + 0x48], r14w
lea r8d, [r14 + 8]
lea rdx, str._WINDIR_
lea rcx, [rsp + 0x48]
call fcn.14009b670
nop
lea rcx, [rsp + 0x48]
call fcn.1401c61e0
cmp qword [rsp + 0x58], 3
jb 0x1401c7abb
mov qword [rsp + 0x58], 3
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov word [rax + 6], r14w
mov dword [rsp + 0x40], r14d
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1401c7998
mov r8, qword [0x14028acb8]
cmp r8, 9
jb 0x1401c7908
mov qword [0x14028acb8], 9
mov rax, rsi
cmp qword [0x14028acc0], 8
cmovae rax, qword [0x14028aca8]
mov word [rax + 0x12], r14w
jmp 0x1401c796b
mov edx, 9
sub rdx, r8
mov rcx, qword [0x14028acc0]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x1401c795a
mov qword [0x14028acb8], 9
mov r9, rsi
cmp rcx, 8
cmovae r9, qword [0x14028aca8]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1401c794f
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x1401c796b
mov word [rsp + 0x20], r14w
mov r9, rdx
mov rcx, rsi
call fcn.1400a1a80
mov rcx, rsi
cmp qword [0x14028acc0], 8
cmovae rcx, qword [0x14028aca8]
mov r8d, dword [rsp + 0x40]
movzx r9d, r8w
shr r8d, 0x10
lea rdx, str._04X__04X
call fcn.1400a5d60
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1401c79da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c79d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c7a7f
call fcn.140188c8c
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov rdi, qword [0x14028acb8]
cmp qword [0x14028acc0], 8
cmovae rsi, qword [0x14028aca8]
cmp rdi, 8
jae 0x1401c7a0a
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
jmp 0x1401c7a52
mov rbp, rdi
or rbp, 7
movabs rax, 0x7ffffffffffffffe
cmp rbp, rax
cmova rbp, rax
mov rdx, rbp
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
mov rcx, rbx
call fcn.14009b600
mov qword [rbx], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.14018d9c0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rbp
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401889e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1401925bc
int3
lea rcx, [0x14029a7f8]
call fcn.1401890bc
cmp dword [0x14029a7f8], 0xffffffff
jne 0x1401c7819
lea rcx, [0x1401ef9e0]
call fcn.140188c74
lea rcx, [0x14029a7f8]
call fcn.14018905c
jmp 0x1401c7819
call fcn.140092520
nop
int3