Function at 0x53fcb0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x30]
sub esp, 0x6c
mov esi, dword [method.QString.fromUtf8_helper_char_const__int_]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6908a4
mov dword [esp], ebx
call esi
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [edi], edx
mov dword [ebp - 0x30], eax
mov edx, dword [eax]
test edx, edx
je 0x53fec0
cmp edx, 0xffffffff
je 0x53fd00
lock sub dword [eax], 1
je 0x53fec0
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x40]
mov dword [esp + 8], 0xa
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [method.QString.number_unsigned_int__int_]
mov dword [esp + 8], 0x11
mov dword [esp + 4], str..PhysicalDrive
mov dword [esp], edi
call esi
mov dword [esp], ebx
mov ecx, edi
call dword [method.QString.append_QString_const_]
mov eax, dword [ebp - 0x30]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x53fee1
cmp edx, 0xffffffff
je 0x53fd5d
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x53fee1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
mov dword [esp + 4], 0
mov ecx, ebx
mov dword [ebp - 0x30], eax
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00615450
mov eax, dword [ebp - 0x40]
sub esp, 8
mov ecx, dword [eax + 4]
add eax, dword [eax + 0xc]
lea edx, [ecx + ecx]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0
mov ecx, ebx
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00615450
mov eax, dword [ebp - 0x30]
sub esp, 8
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
sub esp, 0x1c
cmp eax, ecx
je 0x53fe18
mov dword [esp], eax
call fcn.0063e3b0
cmp esi, 0xffffffff
je 0x540000
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x38]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 8
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x2d1400
mov dword [esp], esi
mov dword [ebp - 0x54], eax
call eax
sub esp, 0x20
test eax, eax
jne 0x53ff00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
test edx, edx
je 0x53ffd8
cmp edx, 0xffffffff
je 0x53feb6
lock sub dword [eax], 1
mov eax, dword [ebp - 0x40]
je 0x53ffd8
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x53fd00
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x53fd5d
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov dword [ebp - 0x50], eax
call fcn.0063e3d0
mov ecx, dword [ebp - 0x50]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x4c], eax
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 8], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 4], 0x2d1400
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x20
test eax, eax
je 0x540010
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x53ffb2
mov ebx, edx
mov eax, 0xffffffff
add ebx, ecx
je 0x53ff89
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [method.QString.fromAscii_helper_char_const__int_]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ecx], eax
mov eax, dword [edx]
test eax, eax
je 0x540031
cmp eax, 0xffffffff
je 0x53ffb2
lock sub dword [edx], 1
je 0x540031
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.0063e3a0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
sub esp, 4
xor ebx, ebx
mov edx, dword [eax]
test edx, edx
jne 0x53fea4
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x53fe97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.0063e3a0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x53fe94
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], edx
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x53ffb2