Function at 0x14013f8d0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov r14, rdx
mov qword [rsp + 0x58], rdi
xor sil, sil
mov rdi, rcx
xor ebp, ebp
call fcn.140139c10
test al, al
je 0x14013f9cc
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1401393b0
mov rdi, rax
mov rbx, qword [rax]
cmp dword [rbx + 4], ebp
ja 0x14013f951
mov r8d, 0x430
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_text_qstring.h
lea rcx, str.uint_i____uint_size___
call fcn.140160ea0
mov rbx, qword [rdi]
cmp dword [rbx + 4], ebp
je 0x14013f979
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x14013f979
cmp rax, 0x18
jae 0x14013f979
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov rax, qword [rbx + 0x10]
movzx ecx, word [rbx + rax]
call fcn.14018fbb0
mov ebx, 1
lea ecx, [rax - 0x41]
shl ebx, cl
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x14013f9ac
cmp eax, 0xffffffff
je 0x14013f9ba
sub eax, 1
mov dword [rcx], eax
jne 0x14013f9ba
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
and ebx, esi
setne sil
neg ebx
sbb ebp, ebp
and ebp, 0x14
jmp 0x14013fb04
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.140139f70
mov dword [rsp + 0x20], 7
lea rax, str._UNC
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x68]
mov ebx, 1
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, ebx
call fcn.14018eef0
test al, al
je 0x14013fadb
mov rdi, qword [rsp + 0x68]
cmp dword [rdi + 4], ebp
ja 0x14013fa44
mov r8d, 0x430
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_text_qstring.h
lea rcx, str.uint_i____uint_size___
call fcn.140160ea0
mov rdi, qword [rsp + 0x68]
cmp dword [rdi + 4], ebp
je 0x14013fa6c
mov rax, qword [rdi + 0x10]
test rax, rax
js 0x14013fa6c
cmp rax, 0x18
jae 0x14013fa6c
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
mov rax, qword [rdi + 0x10]
lea rcx, [rsp + 0x68]
mov r9d, ebx
mov r8d, 7
movzx edx, word [rdi + rax]
call fcn.140187b20
mov edi, eax
test eax, eax
jle 0x14013fac5
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140004420
lea r8d, [rdi + 1]
mov r9d, ebx
lea rcx, [rsp + 0x68]
movzx edx, word [rax]
call fcn.140187b20
test eax, eax
jle 0x14013fac5
mov rcx, qword [rsp + 0x68]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x14013fae0
lea rcx, [rsp + 0x68]
call fcn.14013fe40
test al, al
je 0x14013fadb
mov ebp, 0x10
movzx esi, bl
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x14013faf6
cmp eax, 0xffffffff
je 0x14013fb04
sub eax, ebx
mov dword [rcx], eax
jne 0x14013fb04
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test sil, sil
je 0x14013fb3b
mov dword [r14 + 0x10], ebp
test bpl, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or ecx, dword [r14 + 4]
bts ecx, 0x16
mov dword [r14 + 4], ecx
or dword [r14], 0x560000
movzx eax, sil
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret