Function at 0x514ed0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab8a68
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0xaf908c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov eax, dword [edi + 0xb4]
mov dword [ebp - 4], 0
call eax
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cdq
mov dword [ebp - 0x2c], eax
mov al, 0x41
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x64], al
mov dword [ebp - 0x70], ecx
nop dword [eax]
movsx edx, al
mov eax, 1
sub edx, 0x41
mov ecx, edx
shr edx, 5
and ecx, 0x1f
shl eax, cl
test dword [ebp + edx*4 - 0x2c], eax
je 0x5151f6
mov esi, dword [edi + 0xb8]
lea ecx, [ebp - 0x88]
push 2
mov dword [ebp - 0x88], 0
push 0xabf6e4
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.0047a420
push dword [ebp - 0x64]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
push 1
push 0
call fcn.005220d0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call esi
mov edx, dword [ebp - 0x14]
cmp eax, 3
mov byte [ebp - 4], 1
sete byte [ebp - 0x59]
cmp edx, 0x10
jb 0x515034
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51502a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x515251
push edx
push ecx
call fcn.00a407b5
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x515081
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x515077
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x515251
push edx
push ecx
call fcn.00a407b5
add esp, 8
cmp byte [ebp - 0x59], 0
je 0x5151f6
push 4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.._
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0047a420
push dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0047ac90
push 1
push 0xabb93c
lea ecx, [ebp - 0x28]
call fcn.0047a2a0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [edi + 0xc0]
cmovae ecx, dword [ebp - 0x28]
or esi, 0xffffffff
push 0
push 0
push 3
push 0
push 3
push 0
push ecx
call eax
mov edi, eax
cmp edi, 0xffffffff
je 0x5151bf
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x48]
push 0
push eax
push 0xc
mov ecx, dword [ecx + 0xb0]
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x2d1080
push edi
call ecx
test eax, eax
push edi
cmovne esi, dword [ebp - 0x54]
call dword [ebp - 0x70]
mov edi, dword [ebp - 0x60]
cmp esi, 0xffffffff
je 0x5151c2
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push esi
call fcn.00515640
test eax, eax
jne 0x5151c2
sub esp, 0x18
mov esi, esp
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov ecx, dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], eax
cmp ecx, 0x10
jae 0x515179
movups xmm0, xmmword [eax]
mov edi, 0xf
movups xmmword [esi], xmm0
jmp 0x5151ad
mov edi, ecx
mov eax, SysReAllocString
or edi, 0xf
mov ecx, esi
cmp edi, 0x7fffffff
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.0047a0c0
mov ecx, dword [ebp - 0x68]
inc ecx
mov dword [esi], eax
push ecx
push dword [ebp - 0x6c]
push eax
call fcn.00a91c60
mov ecx, dword [ebp - 0x68]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov edi, dword [ebp - 0x60]
mov ecx, edi
call fcn.0050a010
jmp 0x5151c2
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5151f6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5151ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x515251
push edx
push ecx
call fcn.00a407b5
add esp, 8
mov al, byte [ebp - 0x64]
inc al
mov byte [ebp - 0x64], al
cmp al, 0x5a
jle 0x514f40
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x515236
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51522c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x515251
push edx
push ecx
call fcn.00a407b5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00a405be
mov esp, ebp
pop ebp
ret
call fcn.00a95bf1
int3