Function at 0x4f3fe3
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bb7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push edi
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x270], 0
push 0x14
lea ecx, [ebp - 0x218]
call fcn.004e06e0
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
push 0
push str..PhysicalDrive
lea ecx, [ebp - 0x218]
call fcn.004e56e0
mov ecx, eax
call fcn.004f5480
lea ecx, [ebp - 0x218]
call fcn.004e1270
push eax
mov ecx, dword [ebp - 0x274]
call fcn.004f4a2f
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x4f4097
mov ecx, dword [ebp + 8]
call fcn.005013a0
mov ecx, dword [ebp - 0x270]
or ecx, 1
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.004e0030
mov eax, dword [ebp + 8]
jmp 0x4f4359
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x21c], 0
mov byte [ebp - 0x210], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
push 0x200
lea eax, [ebp - 0x210]
push eax
push 0xc
lea ecx, [ebp - 0x224]
push ecx
push 0x2d1400
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x230], eax
push 0x14
lea ecx, [ebp - 0x22c]
call fcn.004dff60
mov byte [ebp - 4], 2
cmp dword [ebp - 0x230], 0
je 0x4f42fc
lea eax, [ebp - 0x210]
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
cmp dword [edx + 0x10], 0
je 0x4f415c
cmp dword [ebp + 0x14], 0
je 0x4f415c
push 0
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + 0x10]
lea edx, [ebp + ecx - 0x210]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.004e02c0
mov eax, dword [ebp - 0x260]
cmp dword [eax + 0x14], 0
je 0x4f4189
cmp dword [ebp + 0x18], 0
je 0x4f4189
push 0
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx + 0x14]
lea eax, [ebp + edx - 0x210]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.004e02c0
mov ecx, dword [ebp - 0x260]
cmp dword [ecx + 0x18], 0
je 0x4f41b6
cmp dword [ebp + 0x10], 0
je 0x4f41b6
push 0
mov edx, dword [ebp - 0x260]
mov eax, dword [edx + 0x18]
lea ecx, [ebp + eax - 0x210]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004e02c0
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x264]
push ecx
mov ecx, dword [ebp - 0x274]
call fcn.004f4b73
mov byte [ebp - 4], 3
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x254], 3
mov dword [ebp - 0x250], 7
mov dword [ebp - 0x24c], 0xd
mov dword [ebp - 0x248], 0xf
mov dword [ebp - 0x244], 0x12
mov dword [ebp - 0x240], 0x13
mov dword [ebp - 0x23c], 0x17
mov dword [ebp - 0x238], 0x19
mov dword [ebp - 0x234], 0x1f
push 0
push 0xa
lea ecx, [ebp - 0x22c]
call fcn.004e0320
mov dword [ebp - 0x25c], 0
jmp 0x4f4265
mov edx, dword [ebp - 0x25c]
add edx, 1
mov dword [ebp - 0x25c], edx
cmp dword [ebp - 0x25c], 0xa
jge 0x4f42ed
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp + eax*4 - 0x258]
sub ecx, 1
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x264]
call fcn.004f5020
mov al, byte [eax]
mov byte [ebp - 0x268], al
mov ecx, dword [ebp - 0x268]
and ecx, 0xff
cmp ecx, 0x41
jl 0x4f42ce
mov edx, dword [ebp - 0x268]
and edx, 0xff
cmp edx, 0x5a
jg 0x4f42ce
mov al, byte [ebp - 0x268]
add al, 0x20
mov byte [ebp - 0x268], al
mov ecx, dword [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.004f5020
mov dl, byte [ebp - 0x268]
mov byte [eax], dl
jmp 0x4f4256
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.004e0030
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x22c]
call fcn.004e0400
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004dffd0
mov edx, dword [ebp - 0x270]
or edx, 1
mov dword [ebp - 0x270], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.004e0030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.004e0030
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x14