Function at 0x6714b9a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672989c9
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x674c7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], eax
mov dword [eax], sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null
mov dword [ebp - 4], 0
mov ebx, 1
push 0x8001
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
and eax, 0x3ffffff
mov dword [ebp - 0x18], 0x3a0041
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0x5c
je 0x6714bbcd
mov esi, dword [ebp - 0x3c]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop dword [eax]
test al, 1
je 0x6714bbbe
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x6714ba4c
cmp eax, 5
jne 0x6714ba6f
push 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, 1
jne 0x6714bbbb
xor eax, eax
cmp word [ebp - 0x18], ax
je 0x6714ba80
inc eax
cmp word [ebp + eax*2 - 0x18], 0
jne 0x6714ba77
push 0
add eax, eax
lea edx, [ebp - 0x18]
push 0
push eax
lea ecx, [ebp - 0x20]
call fcn.671e2a80
add esp, 0xc
or ebx, 0x10
mov eax, dword [ebp - 0x20]
or ebx, 0xa
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov dword [ebp - 0x1c], ebx
test bl, 4
je 0x6714bae1
mov eax, dword [esi]
and ebx, 0xfffffffb
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x6714bad0
cmp eax, 0xffffffff
je 0x6714bade
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
setne al
test al, al
jne 0x6714bade
cmp esi, 0x674c7cb4
je 0x6714bade
push esi
call edi
add esp, 4
mov ebx, dword [ebp - 0x1c]
test bl, 2
je 0x6714bb1c
mov eax, dword [ebp - 0x20]
and ebx, 0xfffffffd
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
test eax, eax
je 0x6714bb0c
cmp eax, 0xffffffff
je 0x6714bb1c
mov eax, dword [ebp - 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x6714bb1c
mov eax, dword [ebp - 0x20]
cmp eax, 0x674c7cb4
je 0x6714bb1c
push eax
call edi
add esp, 4
push 0xa8
mov dword [ebp - 4], 2
call fcn.67284a71
add esp, 4
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.670ff5d0
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x6714bb4e
lock inc dword [edi]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
push eax
call fcn.670f86a0
test edi, edi
je 0x6714bb79
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
setne al
test al, al
jne 0x6714bb79
push ecx
mov ecx, edi
call fcn.67101bf0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
test ecx, ecx
je 0x6714bb9d
cmp ecx, 0xffffffff
je 0x6714bbb2
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
setne cl
test cl, cl
jne 0x6714bbb2
cmp eax, 0x674c7cb4
je 0x6714bbb2
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push eax
call edi
add esp, 4
jmp 0x6714bbb8
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
inc word [ebp - 0x18]
shr eax, 1
mov dword [ebp - 0x24], eax
jne 0x6714ba30
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.67284a63
mov esp, ebp
pop ebp
ret