Function at 0x140128fb4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0x80
mov rax, qword [0x14016f608]
xor rax, rsp
mov qword [rsp + 0x70], rax
and qword [rdx], 0
mov r14, rdx
and qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
and dword [rsp + 0x48], 0
mov rbp, rcx
call fcn.140082c18
lea r12, [0x14016f048]
mov ebx, eax
mov r13d, 0x200
test eax, eax
js 0x14012916c
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], 0x10
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x14012911c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rsp + 0x48]
mov dl, 1
mov rcx, rbp
mov edi, eax
call fcn.140129c70
test eax, eax
jns 0x1401290bf
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1401290ac
test byte [rcx + 0x1c], 1
je 0x1401290ac
cmp byte [rcx + 0x19], 3
jb 0x1401290ac
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157ac8]
mov edx, 0x2d
mov dword [rsp + 0x20], eax
mov r9, rbp
call fcn.140005938
mov rcx, qword [0x14016f048]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x140129173
mov eax, dword [rsp + 0x48]
shr eax, 0xb
test al, 1
je 0x1401291e5
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x140129100
test dword [rcx + 0x1c], r13d
je 0x140129100
cmp byte [rcx + 0x19], 4
jb 0x140129100
mov r9, qword [rsp + 0x40]
lea r8, [0x140157ac8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2e
call fcn.1400058d8
lea r8, str.NTFS
mov edx, 0x10
lea rcx, [rsp + 0x50]
call fcn.140039dd4
mov ebx, eax
test eax, eax
js 0x14012916c
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov rdx, r14
call fcn.140082e28
mov ebx, eax
test eax, eax
js 0x14012916c
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x140129173
test dword [rcx + 0x1c], r13d
je 0x140129173
cmp byte [rcx + 0x19], 5
jb 0x140129173
mov rax, qword [r14]
lea r8, [0x140157ac8]
mov r9, qword [rsp + 0x40]
mov edx, 0x30
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.1400059ac
mov rcx, qword [0x14016f048]
cmp qword [rsp + 0x40], 0
je 0x14012918d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14016f048]
test ebx, ebx
jns 0x1401291be
cmp rcx, r12
je 0x1401291be
test dword [rcx + 0x1c], r13d
je 0x1401291be
cmp byte [rcx + 0x19], 3
jb 0x1401291be
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157ac8]
mov edx, 0x31
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.140005938
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14013e290
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
cmp edi, 0x3ed
je 0x14012920a
cmp edi, 1
je 0x14012920a
cmp edi, 0x57
je 0x14012920a
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x14012916c
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x140129173
test dword [rcx + 0x1c], r13d
je 0x140129173
cmp byte [rcx + 0x19], 4
jb 0x140129173
mov r9, qword [rsp + 0x40]
lea r8, [0x140157ac8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2f
call fcn.1400058d8
jmp 0x14012916c