Function at 0x5174a0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xad18c8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0xb1208c]
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 0x5177c6
mov esi, dword [edi + 0xb8]
lea ecx, [ebp - 0x88]
push 2
mov dword [ebp - 0x88], 0
push 0xad7c14
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.004780d0
push dword [ebp - 0x64]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
push 1
push 0
call fcn.005219a0
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 0x517604
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5175fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x517821
push edx
push ecx
call fcn.00a59625
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 0x517651
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x517647
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x517821
push edx
push ecx
call fcn.00a59625
add esp, 8
cmp byte [ebp - 0x59], 0
je 0x5177c6
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.004780d0
push dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00478940
push 1
push 0xad393c
lea ecx, [ebp - 0x28]
call fcn.00477f50
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 0x51778f
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 0x517792
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push esi
call fcn.00517c10
test eax, eax
jne 0x517792
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 0x517749
movups xmm0, xmmword [eax]
mov edi, 0xf
movups xmmword [esi], xmm0
jmp 0x51777d
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.00477d70
mov ecx, dword [ebp - 0x68]
inc ecx
mov dword [esi], eax
push ecx
push dword [ebp - 0x6c]
push eax
call fcn.00aaaab0
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.0050cc60
jmp 0x517792
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5177c6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5177bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x517821
push edx
push ecx
call fcn.00a59625
add esp, 8
mov al, byte [ebp - 0x64]
inc al
mov byte [ebp - 0x64], al
cmp al, 0x5a
jle 0x517510
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x517806
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5177fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x517821
push edx
push ecx
call fcn.00a59625
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.00a5942e
mov esp, ebp
pop ebp
ret
call fcn.00aaea41
int3