Function at 0x51ae00
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xac0e58
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0xb0108c]
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 0x51b126
mov esi, dword [edi + 0xb8]
lea ecx, [ebp - 0x88]
push 2
mov dword [ebp - 0x88], 0
push 0xac796c
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.0047b320
push dword [ebp - 0x64]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
push 1
push 0
call fcn.00525750
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 0x51af64
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51af5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51b181
push edx
push ecx
call fcn.00a48bc5
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 0x51afb1
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51afa7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51b181
push edx
push ecx
call fcn.00a48bc5
add esp, 8
cmp byte [ebp - 0x59], 0
je 0x51b126
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.0047b320
push dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0047bb90
push 1
push 0xac393c
lea ecx, [ebp - 0x28]
call fcn.0047b1a0
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 0x51b0ef
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 0x51b0f2
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
push esi
call fcn.0051b570
test eax, eax
jne 0x51b0f2
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 0x51b0a9
movups xmm0, xmmword [eax]
mov edi, 0xf
movups xmmword [esi], xmm0
jmp 0x51b0dd
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.0047afc0
mov ecx, dword [ebp - 0x68]
inc ecx
mov dword [esi], eax
push ecx
push dword [ebp - 0x6c]
push eax
call fcn.00a9a050
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.0050f6a0
jmp 0x51b0f2
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x51b126
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51b11c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51b181
push edx
push ecx
call fcn.00a48bc5
add esp, 8
mov al, byte [ebp - 0x64]
inc al
mov byte [ebp - 0x64], al
cmp al, 0x5a
jle 0x51ae70
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x51b166
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51b15c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51b181
push edx
push ecx
call fcn.00a48bc5
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.00a489d2
mov esp, ebp
pop ebp
ret
call fcn.00a9dfe1
int3