Function at 0x1401c9880
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 [0x14028cce8]
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 [0x14029dae8], eax
jg 0x1401c9b35
xor r14d, r14d
lea ebp, [r14 + 7]
lea rsi, [0x14028ddc8]
cmp qword [0x14028ddd8], r14
jne 0x1401c9a8a
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.14009ce50
nop
lea rcx, [rsp + 0x48]
call fcn.1401c8290
cmp qword [rsp + 0x58], 3
jb 0x1401c9b6b
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 0x1401c9a48
mov r8, qword [0x14028ddd8]
cmp r8, 9
jb 0x1401c99b8
mov qword [0x14028ddd8], 9
mov rax, rsi
cmp qword [0x14028dde0], 8
cmovae rax, qword [0x14028ddc8]
mov word [rax + 0x12], r14w
jmp 0x1401c9a1b
mov edx, 9
sub rdx, r8
mov rcx, qword [0x14028dde0]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x1401c9a0a
mov qword [0x14028ddd8], 9
mov r9, rsi
cmp rcx, 8
cmovae r9, qword [0x14028ddc8]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1401c99ff
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x1401c9a1b
mov word [rsp + 0x20], r14w
mov r9, rdx
mov rcx, rsi
call fcn.1400a3e90
mov rcx, rsi
cmp qword [0x14028dde0], 8
cmovae rcx, qword [0x14028ddc8]
mov r8d, dword [rsp + 0x40]
movzx r9d, r8w
shr r8d, 0x10
lea rdx, str._04X__04X
call fcn.1400a8170
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1401c9a8a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401c9a85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401c9b2f
call fcn.14018aa0c
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov rdi, qword [0x14028ddd8]
cmp qword [0x14028dde0], 8
cmovae rsi, qword [0x14028ddc8]
cmp rdi, 8
jae 0x1401c9aba
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
jmp 0x1401c9b02
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.14009cde0
mov qword [rbx], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.14018f740
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rbp
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14018a760
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.14019433c
int3
lea rcx, [0x14029dae8]
call fcn.14018ae3c
cmp dword [0x14029dae8], 0xffffffff
jne 0x1401c98c9
lea rcx, [0x1401f2180]
call fcn.14018a9f4
lea rcx, [0x14029dae8]
call fcn.14018addc
jmp 0x1401c98c9
call fcn.140093a80
nop
int3