Function at 0x53ac93
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x5aa290
call fcn.00540fdc
sub esp, 0x80
push ebx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 5
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x53aeee
push edi
push 0xc
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.005415c0
push 0x28
lea eax, [ebp - 0x8c]
push ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.005415c0
add esp, 0x18
lea eax, [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x10], ebx
push ebx
push eax
lea eax, [ebp - 0x8c]
push 0x28
push eax
lea eax, [ebp - 0x24]
push 0xc
push eax
push 0x2d1400
push dword [ebp + 8]
call edi
cmp eax, ebx
je 0x53aee4
push esi
push dword [ebp - 0x88]
call fcn.0053e13b
push dword [ebp - 0x88]
mov esi, eax
push ebx
push esi
call fcn.005415c0
add esp, 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [ebp - 0x88]
lea eax, [ebp - 0x24]
push esi
push 0xc
push eax
push 0x2d1400
push dword [ebp + 8]
call edi
cmp dword [esi + 0x10], ebx
je 0x53aedc
cmp dword [esi + 0x14], ebx
je 0x53aedc
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00406080
mov edi, dword [esi + 0x10]
mov dword [ebp - 4], ebx
add edi, esi
push edi
call fcn.00540f60
pop ecx
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.0052636b
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x53ae0a
lea edi, [eax + esi]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], al
call fcn.00406080
push edi
call fcn.00540f60
pop ecx
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.0042bea0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.005263c2
add esp, 0xc
push dword [0x5af33c]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
push ebx
push eax
call fcn.00427500
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00406080
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00406080
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jbe 0x53aece
push dword [0x5af33c]
add eax, 0xfffffff0
lea ecx, [ebp - 0x34]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00534f6b
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x34]
sub eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00534f6b
mov edi, dword [esi + 0x14]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
add edi, esi
mov byte [ebp - 0x44], al
call fcn.00406080
push edi
call fcn.00540f60
pop ecx
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.0042bea0
mov edx, dword [ebp - 0x40]
mov byte [ebp - 4], 5
cmp edx, ebx
mov eax, 0x5af328
jne 0x53ae7f
mov edx, eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x14], eax
cmp ecx, ebx
je 0x53ae8c
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x50], ebx
je 0x53ae94
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x18]
push edx
push dword [ebp - 0x14]
mov ecx, dword [ecx]
push eax
mov edi, dword [ecx]
call dword [edi]
push 1
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
call fcn.00406080
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00406080
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.00406080
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x34]
call fcn.00406080
push esi
call fcn.0053d6fa
pop ecx
pop esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop ebx
mov dword fs:[0], ecx
leave
ret 4