Function at 0x50e6b0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xaacda8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0xaee08c]
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 0x50e9d6
mov esi, dword [edi + 0xb8]
lea ecx, [ebp - 0x88]
push 2
mov dword [ebp - 0x88], 0
push 0xab3b34
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.004780c0
push dword [ebp - 0x64]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
push 1
push 0
call fcn.00519f50
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 0x50e814
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50e80a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ea31
push edx
push ecx
call fcn.00a34ae5
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 0x50e861
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50e857
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ea31
push edx
push ecx
call fcn.00a34ae5
add esp, 8
cmp byte [ebp - 0x59], 0
je 0x50e9d6
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.004780c0
push dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00478930
push 1
push 0xaaf93c
lea ecx, [ebp - 0x28]
call fcn.00477f40
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 0x50e99f
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 0x50e9a2
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push esi
call fcn.0050ee20
test eax, eax
jne 0x50e9a2
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 0x50e959
movups xmm0, xmmword [eax]
mov edi, 0xf
movups xmmword [esi], xmm0
jmp 0x50e98d
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.00477d60
mov ecx, dword [ebp - 0x68]
inc ecx
mov dword [esi], eax
push ecx
push dword [ebp - 0x6c]
push eax
call fcn.00a85f90
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.00503680
jmp 0x50e9a2
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x50e9d6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50e9cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ea31
push edx
push ecx
call fcn.00a34ae5
add esp, 8
mov al, byte [ebp - 0x64]
inc al
mov byte [ebp - 0x64], al
cmp al, 0x5a
jle 0x50e720
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x50ea16
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50ea0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50ea31
push edx
push ecx
call fcn.00a34ae5
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.00a348e6
mov esp, ebp
pop ebp
ret
call fcn.00a89f21
int3